Skip to main content
Glama

Ground Finding

ground_finding
Read-onlyIdempotent

Verify a code finding's validity by retrieving its enclosing function, cross-file symbol references, and file imports, enabling confirmation before taking action.

Instructions

Ground a specific finding in real code: returns the full enclosing function, every other file referencing the same symbol, and the file's imports. Use this BEFORE acting on any finding to confirm it is real.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileYesRepo-relative file path from a finding
lineYesLine number from a finding
pathYesAbsolute path to the repository root
Behavior4/5

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

Annotations already declare readOnlyHint=true and idempotentHint=true, so the safety profile is covered. The description adds valuable behavioral context by specifying what the tool returns (function, references, imports) and its role in verification, which goes beyond the annotations without contradicting them.

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 deliver both the operational definition and the usage timing. The actionable instruction is front-loaded, and there is no redundant wording or filler.

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?

For a read-only verification tool with no output schema, the description is sufficient. It tells the agent what to expect (returns) and when to use it. A more detailed return structure would be nice, but it is not essential given the tool's simplicity and the annotation coverage.

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

Parameters3/5

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

Schema coverage is 100% and all three parameters have descriptive comments (path, file, line) that fully explain their purpose. The description does not add additional meaning beyond the schema, so the baseline score of 3 applies.

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 states a specific verb ('ground'), the resource ('a specific finding in real code'), and details the return payload (enclosing function, referencing files, imports). It clearly differentiates this tool from the long sibling list by focusing on verification of a single finding, not analysis or scanning.

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 gives an explicit when-to-use directive: 'Use this BEFORE acting on any finding to confirm it is real.' This is strong guidance, though it does not explicitly name alternatives or conditions when not to use it. Still, the instruction is clear and actionable.

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/CerisonAutomation/argus-mcp'

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