Skip to main content
Glama

Procedure Callers

procedure_callers
Idempotent

Find the resolved direct callers of a procedure by symbol or address using completed static analysis, helping map call sites and identify unresolved indirect references.

Instructions

Return the provider's resolved direct callers for one procedure identified by symbol or address. Results reflect completed static analysis and may omit unresolved indirect references. Ghidra terminal-call assumptions that may cut the analyzed body are reported in Evidence limitations. Select detail summary for selected facts and a context digest; native-observation and native-context views retain complete source access.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "procedure": "<procedure>"
    },
    "name": "procedure_callers"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNocomplete returns the complete analysis Evidence inline. summary retains that complete Evidence in this session and returns its inspect_analysis_view summary; inspect pages, items or facets through normalized_result.parent_evidence_id.
documentNo
procedureYes

Output Schema

NameRequiredDescriptionDefault
subjectYes
providerYes
authorityYes
locationsYes
operationYes
confidenceYes
parametersYes
raw_resultYes
environmentYes
evidence_idYes
limitationsYes
evidence_linksYes
predicate_typeYes
analysis_profileYes
caller_input_pathNo
normalized_resultYes
caller_input_pathsNo
relationship_coverageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.5/5.0
Behavior4/5

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

Beyond the annotations, the description discloses real behavioral caveats: results are 'resolved direct callers' only, unresolved indirect references may be omitted, and Ghidra terminal-call assumptions that can truncate the analyzed body surface in Evidence limitations. Those are exactly the trust caveats an agent needs. It does not, however, explain why readOnlyHint is false for what reads like a retrieval operation, nor any session/state implications.

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

Conciseness3/5

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

The core purpose and limitations are front-loaded in the first three sentences, which is good structure. The closing sentence about native-observation and native-context views is jargon-dense and largely restates what the detail enum already documents. Some tightening would help.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the description does cover scope and analysis caveats. Gaps remain: the document parameter is undocumented, and terms like 'Evidence limitations', 'context digest', and the native-observation views are referenced without enough context for an agent to act on them confidently.

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

Parameters3/5

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

Schema description coverage is only 33%: detail is documented in the schema, while procedure and document are not. The description partially compensates by stating procedure accepts a symbol or address, and it restates the summary-vs-complete distinction that the schema already covers. The document parameter is left entirely unexplained in both places.

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

Purpose4/5

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

The first sentence names a specific verb and resource — 'return the resolved direct callers for one procedure' — and clarifies that the procedure may be given by symbol or address. It also distinguishes direct from indirect callers, which sharpens scope. It does not, however, contrast itself with adjacent tools such as procedure_pseudo_code or analyze_function.

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

Usage Guidelines3/5

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

The description offers selection guidance only for the detail parameter ('select detail summary for selected facts and a context digest'), which is usage-adjacent but parameter-level rather than tool-level. It never states when to reach for this tool instead of a sibling analysis tool, nor any prerequisite such as the analysis having been run. Usage is implied rather than directed.

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