Skip to content

shared_dependencies

Graph · From docs/MCP_TOOLS.md on GitHub

Category graph · sensitivity confidential · capabilities read_state · readOnly true, destructive false, idempotent true, openWorld false · outputSchema no · timeout: layer default (300 s)

Single points of failure: the assets with the most direct dependents (one KMS key behind many resources, one role behind every function), not counting pure containment. Items have id, name, type, account_id and direct_dependents.

Argument Type Default Constraints Description
top integer 25 1..200 Number of assets returned.
dataset string "" Dataset name (see list_datasets). Empty = the active dataset.

Called with the arguments below, shared_dependencies returned this structuredContent.

{"top": 5}
{
  "dataset": "sample",
  "items": [
    {
      "id": "kms-main",
      "name": "prod-main-key",
      "arn": "arn:aws:kms:us-east-1:111111111111:key/1111-2222",
      "type": "KMS_KEY",
      "account_id": "111111111111",
      "region": "us-east-1",
      "direct_dependents": 4
    },
    {
      "id": "sg-app",
      "name": "sg-app",
      "arn": "arn:aws:ec2:us-east-1:111111111111:security-group/sg-0app",
      "type": "SECURITY_GROUP",
      "account_id": "111111111111",
      "region": "us-east-1",
      "direct_dependents": 2
    },
    {
      "id": "ecr-repo",
      "name": "app-images",
      "arn": "arn:aws:ecr:eu-west-1:222222222222:repository/app-images",
      "type": "CONTAINER_REGISTRY",
      "account_id": "222222222222",
      "region": "eu-west-1",
      "direct_dependents": 2
    },
    "... 2 more"
  ],
  "returned": 5
}