Skip to main content
Glama
mark-burg

reference-mcp

by mark-burg

find_tests

Identify tests that cover a given symbol, or discover which symbols a test file exercises, so you know what to run before changing code.

Instructions

Map a symbol to the tests that exercise it — or a test file to the symbols it exercises.

If 'target' is a test file path, returns the modules/symbols it pulls in.
Otherwise treats it as a symbol name and returns the test files + test_*
functions that reference it. Use before changing code to know what to run.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYesA symbol name (-> tests covering it) OR a test file path (-> what it exercises).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description bears full responsibility. It explains the bidirectional behavior based on input type, which is transparent. No destructive or performance implications are mentioned, but for a query tool this is adequate.

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?

Two sentences with clear structure: first defines purpose, second adds usage context. No redundant words. Highly front-loaded and efficient.

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

Completeness4/5

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

With only one parameter and an output schema (not shown but indicated as present), the description covers usage and behavior sufficiently. It lacks details on error conditions but is complete for a simple mapping tool.

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

Parameters4/5

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

The input schema has 100% coverage with a description for 'target'. The tool's description adds value by detailing the output based on target type (e.g., 'test_* functions', 'modules/symbols'), going beyond the schema's brief note.

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

Purpose5/5

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

The description uses a specific verb 'map' and clearly distinguishes two modes: symbol to tests and test file to symbols. It is not a tautology and effectively communicates the core function.

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

Usage Guidelines4/5

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

The description provides explicit context: 'Use before changing code to know what to run.' This tells when to use it. It does not explicitly mention when not to use or alternatives, but the sibling tools list implies differentiation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mark-burg/reference-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server