Skip to main content
Glama
georgeslane

hermes-digup

by georgeslane

search_code

Read-onlyIdempotent

Find code in your Mac projects by describing what it does. Searches DigUp's code index and returns matching files with line ranges for reading.

Instructions

Find code in the user's Mac projects by what it does.

Searches DigUp's code index (if code search is turned on in DigUp). Returns files with line ranges; read them with read_passage(code=true) or read_file(code=true).

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesWhat the code does ('retry a failed call with backoff') or a name that's in it.
folderNoOnly files under this folder on the Mac.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully adds that results are references only (files with line ranges, not content) and that the index may be disabled — genuinely beyond the annotations — but says nothing about ranking, partial results, or empty-result behavior.

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?

Three short sentences, purpose first, then the availability caveat, then the next-step call. Nothing repeats the name or title and nothing is 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?

With no output schema, the description correctly describes the return shape (files with line ranges) and the follow-up tools needed to consume results, plus the index-enabled prerequisite. Minor gaps remain around result count limits and what happens when nothing matches, but the essentials for a correct call are present.

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 67% and the query parameter already carries a strong example ('retry a failed call with backoff'), so the schema does the heavy lifting. The description adds no meaning for limit or folder beyond their schema text; baseline 3 applies.

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 and resource with scope: 'Find code in the user's Mac projects by what it does,' which signals semantic code search rather than name matching. It doesn't explicitly name the sibling search_files to draw the contrast, so differentiation is inferable but not spelled out.

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?

Gives a real precondition ('if code search is turned on in DigUp') and routes the agent forward to read_passage(code=true) or read_file(code=true) for the returned ranges. It doesn't say when to prefer this over search_files, so the alternative-routing half of the guidance is missing.

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