Skip to main content
Glama
hasancagrigungor

kapmcp

Search documents

search_documents
Read-onlyIdempotent

Find passages about a topic in disclosure attachments and return short snippets with page numbers and source URLs, avoiding the need to open entire documents.

Instructions

Find passages inside disclosure attachments and return short snippets with page numbers and source_url instead of whole documents. Use for 'what does the report say about X'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesWords to find (any word matches; Turkish-insensitive)
max_resultsNo
attachment_idNo…or a single attachment
context_charsNoSnippet length around each match
disclosure_idNoSearch all attachments of this disclosure

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so safety is covered. The description adds useful behavioral context by promising snippets with page numbers and source_url instead of whole documents, which shapes agent expectations about the granularity of the result.

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 short sentences accomplish a lot: the first explains functionality and output format, the second gives a concrete use case. There is no filler or repetition of schema or annotation details.

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?

With rich annotations, an output schema, and a well-documented input schema covering 80% of parameters, the description only needs to explain the tool's purpose and distinguishing behavior. It does, so nothing essential is missing for correct invocation.

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 80%, so the schema already documents most parameters including query, attachment_id, context_chars, and disclosure_id. The description adds no parameter-level semantics beyond the schema, so the baseline score of 3 is appropriate.

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 names a specific action ('Find passages') and a specific resource ('disclosure attachments'), and it clearly defines the return shape: short snippets with page numbers and source_url instead of whole documents. This strongly distinguishes it from sibling tools that return whole documents or broader disclosure search results.

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 a clear use case ('what does the report say about X') and implies it is the passage-level search tool, not a document-download tool. It does not explicitly name alternatives or state when not to use it, but the context is strong enough for an agent to route correctly.

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