Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Documentation Search

documentation_search
Read-onlyIdempotent

Search README files, docs, and source comments for a query; return enclosing document headings to locate relevant documentation. Read-only.

Instructions

Search README, docs and source comment blocks for a query and report the enclosing document heading. Read-only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "documentation_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoDirectory relative to the workspace root (default ".").
limitNoMaximum results (default 50).
queryYesFree-text query.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 trailing "Read-only." adds nothing. The one genuinely new behavioral fact is the return shape: results are keyed to the enclosing document heading, which tells the agent how hits are grouped. No mention of how matching works (substring vs. full-text), how defaults are applied, or how large result sets behave.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the search scope and followed by the output shape. The only wasted text is the "Read-only." fragment, which restates an annotation and could be dropped or replaced with something the agent cannot already infer.

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 three-parameter, non-destructive search tool with no output schema, the definition covers what is searched and what a result represents (an enclosing heading), which is what an agent needs to call it and interpret hits. Minor gaps around matching semantics and result ordering are tolerable at this complexity.

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%, with path, limit and query all documented including defaults and bounds, so the schema does the heavy lifting. The description adds no extra meaning about query syntax, matching mode, or how limit interacts with the reported headings, so the baseline of 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?

The description gives a specific verb ("Search") plus the exact resource class it covers: README, docs and source comment blocks, and states what is returned (the enclosing document heading). That is enough to distinguish it from sibling searches like repository_search or symbol_search, though it never names an alternative explicitly.

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

Usage Guidelines3/5

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

Usage is implied by the resource scoping: an agent can infer this is the tool for prose/documentation lookups rather than code symbols or repos. However, there is no explicit when-to-use statement, no exclusions, and no pointer to a competing tool for cases this one does not cover.

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

Deploy Server

Other Tools