Skip to main content
Glama
alopez3006

snipara-mcp

by alopez3006

snipara_search

Read-onlyIdempotent

Search project documentation with regular expressions to locate code identifiers, paths, or exact text, returning capped matches with line context.

Instructions

Search indexed project documentation with an exact regular expression. This is a read-only VIEWER operation and changes no project state. Use it for identifiers, paths, or literal wording; use snipara_context_query for semantic source retrieval and snipara_read after locating a relevant range. Returns capped matches with document and line context, or a validation/no-match result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoAlias for pattern for clients that normalize search inputs to query.
patternNoRegex text pattern to search for.
max_resultsNoMaximum regex matches to return.
correlation_contextNoOptional retrieval-correlation context. Reuse session_id across retrieval and outcome calls so telemetry can be joined inside the authenticated project. These identifiers never change authorization or project scope; do not include secrets, tenant IDs, or user data.
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true. Description adds that it is a 'VIEWER operation' that 'changes no project state,' returns 'capped matches,' and mentions validation/no-match result—adding context beyond annotations.

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 sentences, front-loaded with purpose, then usage, then behavior. Every sentence adds essential information with no redundancy.

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

Completeness5/5

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

No output schema, but description explains return type (capped matches with document and line context). Handles nested correlation_context as optional. With annotations for safety, description is fully sufficient for agent use.

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 description coverage is 100%, so baseline is 3. Description adds minimal value: notes 'query' is an alias for 'pattern,' and mentions 'max_results' cap. Does not significantly enhance schema-provided meanings.

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?

Description states 'Search indexed project documentation with an exact regular expression,' specifying a clear verb, resource, and scope. It distinguishes from siblings snipara_context_query and snipara_read.

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

Usage Guidelines5/5

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

Explicitly lists when to use (identifiers, paths, literal wording) and when to use alternatives (snipara_context_query for semantic, snipara_read after locating range). Provides return behavior (capped matches).

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/alopez3006/snipara-mcp'

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