Skip to main content
Glama

Search events

search
Read-onlyIdempotent

Find relevant changes by searching across entity paths, diffs, reasoning, and agent logs. Quickly locate code modifications related to any feature or topic.

Instructions

Full-text search across entity paths, diffs, reasoning, and agents.

Useful for questions like 'what changes were made for the billing feature?', 'which columns were added by cursor?', or 'show everything related to authentication'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch string (case-insensitive substring). Searches across entity_path, diff, reasoning, and agent fields. SQL LIKE wildcards (`_` and `%`) are escaped, so 'stripe_customer_id' matches the literal underscore rather than any single char.
limitNoMaximum number of results.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnly=true, non-destructive, idempotent. The description adds that it performs case-insensitive substring search across specific fields and that LIKE wildcards are escaped, which are important behavioral details not in annotations. No contradictions.

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: first defines core behavior, second provides concrete examples. No wasted words, and the structure is front-loaded with actionable information.

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?

The description covers the search scope and example uses. With an output schema present, the return value details are handled. Slight gap on result ordering or pagination, but acceptable for a search 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?

With 100% schema coverage, the schema already documents both parameters. The description adds value by specifying which fields are searched (entity_path, diff, reasoning, agents), providing context beyond the schema description for the 'query' parameter.

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 clearly states the tool performs 'full-text search across entity paths, diffs, reasoning, and agents' and provides concrete example questions. This distinguishes it from sibling tools like blame (focused on authorship), diff (comparison), etc., by emphasizing its broad, cross-field search capability.

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 example queries ('what changes were made for the billing feature?') implying usage scenarios, but does not explicitly contrast with siblings. The context signals show sibling tools with focused purposes, making the search tool's broader applicability somewhat inferable.

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/masondelan/selvedge'

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