Skip to main content
Glama

deb_man

Read-onlyIdempotent

Retrieves focused excerpts from Debian man pages—synopsis, examples, options, or files—by command name, so you can inspect usage without loading the full page.

Instructions

Focused excerpt from a man page instead of the whole page.

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": {
      "name": "<name>"
    },
    "name": "deb_man"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNosynopsis (default), examples, options, files or full. Start with synopsis or examples; full is large.synopsis
nameYesCommand or man-page name.
queryNoFor mode=options: only options matching these words.
sectionNoOptional man section, e.g. '1' or '5'.
max_charsNoMaximum characters to return (default 12000).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one useful behavioral note - output is a trimmed excerpt, not the complete page - which aligns with the mode and max_chars parameters. It says nothing about truncation behavior when max_chars is hit, or about what happens for missing pages, so the addition is modest.

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

Conciseness3/5

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

The single sentence contains no filler, but it is a sentence fragment that leads with the output shape rather than the action, so it is under-specified rather than efficiently concise. Front-loading is impossible to judge well in a fragment with no verb.

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?

A return schema exists, so return values need not be described, and the input schema is fully documented. For a low-complexity read tool whose annotations cover safety, the description is close to sufficient; only the missing verb and any note about nonexistent man pages keep it from being complete.

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 already carries its own explanation including mode values, query filtering, section, and max_chars. The description contributes no parameter-level meaning beyond the schema, which is the expected baseline for full-coverage schemas.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description identifies the resource (a man page) and the scope (a focused excerpt rather than the whole page), which is the kernel of what the tool does. But it is a noun phrase with no verb or subject - it never says 'returns' or 'retrieves' - so an agent must infer the operation. It does not explicitly separate itself from siblings such as deb_card or deb_search, though none of them appear to be man-page readers.

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

Usage Guidelines2/5

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

There is no guidance on when to call this versus its siblings, no prerequisites, and no mention of what to do when a man page does not exist. The only usage signal is the implicit contrast with fetching a 'whole page', which the mode parameter already covers.

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