Skip to main content
Glama
kl987456
by kl987456

map_dependency_graph

Read-onlyIdempotent

Query callers or callees from a hosted source-free code map to trace symbol dependencies and reveal how functions interconnect.

Instructions

Query callers or callees from a hosted source-free code map.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
directionNoout
project_idYes
max_resultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds the key context that the map is 'hosted' and 'source-free', but says nothing about permissions, return format, or pagination behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single, front-loaded sentence with zero waste. It efficiently communicates the core purpose without unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 4 parameters (two required), 0% schema description coverage, no output schema, and multiple similar siblings, the description is inadequate. It lacks parameter guidance, usage context, and differentiation from alternative tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so all four parameters (symbol, direction, project_id, max_results) are undocumented in both schema and description. The description mentions 'callers or callees', which hints at the direction parameter, but does not explain default values, valid direction strings, or required project_id.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific action (query callers or callees) and resource (hosted source-free code map), which is clearer than a tautology. However, it does not distinguish this tool from siblings like dependency_graph or find_symbol, leaving an agent uncertain about which to choose.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no indication of when to use this tool versus alternatives such as dependency_graph or find_symbol. The description only implies usage through its verb, providing no exclusions or context for selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.