Skip to main content
Glama

Docs research

docs_research
Read-only

Searches project documentation to answer one question and cites the matching documents with line numbers; choose current docs, version history, or both.

Instructions

Поиск по документации проекта только для чтения: находит документы, которые отвечают на один вопрос, и цитирует их с номерами строк. scope выбирает текущие документы, историю версий или всё вместе.

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>",
      "workdir": "<workdir>"
    },
    "name": "docs_research"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoМодель Codex. По умолчанию — модель возможности или настройка сервера
queryYesОдин вопрос о документации проекта
scopeNocurrent — текущие документы, history — документы прошлых версий, all — всё вместеcurrent
effortNoEffort рассуждений. По умолчанию — effort возможности или настройка сервера
timeoutNoРекомендованный бюджет времени в секундах. Агент получает его в инструкциях, обрывает вызов только жёсткий предел сервера
workdirYesАбсолютный путь к проекту
focus_filesNoДокументы, с которых начать

Output Schema

NameRequiredDescriptionDefault
errorYes
modelYes
stepsYes
statusYes
contentYes
capabilityYes
session_idYes
duration_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The readOnlyHint annotation already declares the safety profile, and the description's 'только для чтения' merely restates it. Beyond that it adds only the single-question constraint and the line-number citation output; it says nothing about how history scope differs behaviorally, how effort/timeout affect the call, or how large the returned document set may be.

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 compact sentences that front-load the read-only search purpose before the scope switch; nothing is padded. The only waste is the partial duplication of the scope enum already described in the schema.

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 seven parameters fully described in the schema and an output schema present, the description only needs to convey purpose, read-only nature and scope selection, which it does. The remaining gap is that it does not help the agent choose between this tool and its search-oriented sibling.

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 every parameter including the 'scope' enum and its three modes is already fully documented in the input schema. The description's restatement of the scope values adds no semantics beyond that baseline, which is the expected 3 when the schema carries the load.

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 names a specific verb and resource ('Поиск по документации проекта') and adds the distinguishing scope 'находит документы, которые отвечают на один вопрос' plus citation behavior. It is clear what the tool does, but it never contrasts itself with the sibling 'codebase_scout', which likely covers a similar search need, so an agent must infer the boundary.

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 rather than stated: 'один вопрос' tells the agent to ask one question at a time, and the scope sentence maps the three modes to situations. There is no explicit 'use this when… / use X instead when…' language and no mention of prerequisites such as needing an absolute workdir.

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