Skip to main content
Glama
@event4u/agent-config

@event4u/agent-config

Official

graph_tests_for

Read-onlyIdempotent

Finds test files that exercise a symbol by importing it or its module; an empty result is a finding, not an error.

Instructions

Test files that exercise a symbol: a test file imports it or its module. Empty is a finding, not an error.

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": "graph_tests_for"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailNostandard
symbolYesNode id, label, or free text.
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv20.4.0
    • addedInput schema / properties / detail
      Added value: +{
      +  "default": "standard",
      +  "enum": [
      +    "minimal",
      +    "standard"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / project
      Added value: +{
      +  "type": "string"
      +}
    • changedInput schema / properties / symbol / description
      Previous value: -"Node id `<relpath>#<sym>`, label, or free text."New value: +"Node id, label, or free text."
  2. Addedv14.22.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, read-only, closed-world query. The description adds substantive behavioral context beyond that: it defines what counts as a matching test file and explicitly says empty results are meaningful findings rather than errors. It does not describe result ordering, pagination, or output structure, but with annotations carrying the safety profile this is still a strong disclosure.

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?

The description is two short sentences, front-loads the core purpose, and every phrase carries information. The matching rule and the empty-result caveat both earn their place with no filler.

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?

For a graph query with three parameters, no output schema, and annotations covering safety, the description communicates the core matching logic and empty-result semantics adequately. It is still incomplete on parameter behavior, especially the detail levels and project scoping, which an agent would need to call it confidently. It does not need to explain return values because no output schema exists, but the tool's query semantics could be fuller.

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 only 33%, and the description adds no parameter-specific meaning. It does not clarify what 'detail' controls, what 'standard' versus 'minimal' returns, or how 'project' scopes the graph search. With low schema coverage, the description should have compensated but does not.

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 states a specific query: finding test files that exercise a given symbol, including the matching rule that a test file imports the symbol or its module. It is clearly distinct from run_tests by framing the result as files rather than execution. It does not explicitly name or contrast with any sibling tool, so a 4 rather than 5.

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 by the purpose: locate the test files covering a symbol. The note that an empty result is a finding, not an error clarifies how to interpret a negative answer, which is useful guidance. However, there is no explicit when-to-use or when-not-to-use guidance relative to alternatives such as run_tests.

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