Skip to main content
Glama
surgical-context-mcp

surgical-context-mcp

by erayerturk

tests_for

Locate all tests that exercise a given symbol and return exact runnable CLI commands to run them, including go test -run, godot -s, and pytest.

Instructions

Find all tests exercising symbol and return the exact runnable CLI commands (go test -run ..., godot -s ..., pytest ...).

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": {
      "symbol": "<symbol>"
    },
    "name": "tests_for"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes
project_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It usefully discloses that output is runnable commands across multiple frameworks (Go, Godot, pytest), which is real behavioral context, but says nothing about whether a prior index/reindex is required, whether the call is read-only, or what happens when no tests are found.

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 the core action first and the return-value clarification second. The parenthetical framework examples are short and earn their place by making the output concrete.

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-value detail is not required, and the description goes slightly beyond it anyway. However, for a two-parameter tool with zero schema description coverage and no annotations, the missing `project_path` semantics and index/prerequisite context leave it only adequate.

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 coverage is 0% and there are two parameters. The description clarifies what `symbol` means in context (tests exercising it) but says nothing about `project_path` — whether it defaults to the current project, what format it takes, or when it must be supplied. The undocumented optional parameter is a genuine gap.

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?

States a specific verb+resource ('Find all tests exercising `symbol`') and adds the distinctive output shape (runnable CLI commands). It does not name or contrast any sibling such as search_symbols or get_symbol_impact, so differentiation is inferred from the 'tests' framing rather than stated.

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?

Usage is only implied — an agent can guess this is for locating tests before modifying a symbol — but there is no explicit when-to-use, when-not-to-use, or alternative named among the siblings. No prerequisites or exclusions are given.

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