Skip to main content
Glama
surgical-context-mcp

surgical-context-mcp

by erayerturk

search_symbols

Search symbols, JSON seed/map data, i18n keys, comments, and docstrings by name or concept to find relevant code context without full-file reads.

Instructions

Search symbols, JSON seed/map data, i18n keys, and comments/docstrings by name or concept query (e.g. 'attack stat', 'Moradon').

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_symbols"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
limitNo
queryNo
project_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.9/5.0
Behavior2/5

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

With zero annotations, the description carries the full behavioral burden and does not meet it. It never says whether an index must exist before searching, whether the search is project-scoped or global, how 'concept' matching behaves (fuzzy vs exact vs semantic), or whether results are ranked. The presence of reindex_project among siblings makes the indexing prerequisite a real question the description leaves unanswered.

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?

A single front-loaded sentence with the resource list before the query examples; nothing is redundant. The examples earn their place by showing that queries can be plain game terms rather than exact identifiers. Slightly compressed, but no 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?

The output schema means return values need not be explained, which helps. But for a search tool with four undocumented parameters, no annotations, and an indexing dependency implied by the sibling set, the description is too thin to let an agent call it confidently beyond the simplest case.

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 must define all four parameters and only addresses `query` (name or concept, with two examples). The `kind` filter, which presumably restricts results to symbols vs JSON vs i18n keys vs comments, is completely undefined, as are `limit` and `project_path`. This is a significant gap for a four-parameter tool.

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 description names a specific verb (Search) and enumerates the resources searched: symbols, JSON seed/map data, i18n keys, and comments/docstrings. The two example queries ('attack stat', 'Moradon') make the name-or-concept matching model concrete. It stops short of explicitly distinguishing itself from siblings like check_translations or find_flow, which also touch i18n keys and code structure.

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 implied rather than stated: an agent can infer this is the lookup tool for finding a definition by name or vague concept. There is no guidance on when to prefer it over check_translations (which overlaps on i18n keys) or when to reindex first. No exclusions or prerequisites are given.

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