Skip to main content
Glama
Repository Context MCP

Repository Context MCP

by itsaksh

find_calls

Read-onlyIdempotent

Locate supported static call references in Python repositories and return explicit reasons for unresolved calls, without runtime execution guarantees.

Instructions

Find calls with supported static references or explicit unresolved reasons; not runtime guarantees.

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": {
      "query": "<query>"
    },
    "name": "find_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world behavior. The description adds useful context about static versus runtime guarantees and the possibility of explicit unresolved reasons, but it does not explain result ordering, limit behavior, or what happens when some references cannot be resolved.

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

Conciseness4/5

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

The definition is a single compact sentence with no filler, and the reliability caveat is front-loaded enough to be noticed. It is dense but not bloated; the weakness is omitted detail rather than wasted wording.

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?

With only two parameters and an output schema, the tool is not complex, but the description still leaves core invocation semantics unexplained. An agent cannot confidently determine query format or limit effects from this definition alone.

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 the description is responsible for explaining both parameters. It does not define the query syntax or what the query matches, and it never mentions the limit parameter at all.

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 says 'Find calls' and adds that results involve 'supported static references or explicit unresolved reasons,' which gives a domain-level hint. But it never defines what a 'call' is, the scope of the search, or how this differs from siblings like get_callers and search_code, so the purpose remains vague.

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 guidance on when to use find_calls instead of get_callers, search_code, get_symbol_context, or other siblings. The only usage-adjacent statement is a limitation ('not runtime guarantees'), not a routing rule or prerequisite.

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