Skip to main content
Glama
Universal Docs MCP

Universal Docs MCP

by solmonger

get_docs_outline

Read-onlyIdempotent

Inspect untrusted versioned README sections with offset/limit pagination to locate documentation structure; use the returned slug with get_package_docs to fetch exact package docs.

Instructions

Inspect untrusted versioned README sections with offset/limit pagination; use a returned slug with get_package_docs.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
packageYes
versionNo
ecosystemNo
force_refreshNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds genuinely new context beyond them: the content is "untrusted" (a security caveat an agent should carry forward) and results are paginated via offset/limit. It omits what force_refresh does and any rate-limit or caching behavior.

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?

One compact sentence with two clauses, both load-bearing: the scope/pagination fact and the follow-up routing. Nothing is repeated from the schema and nothing is padding.

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

Completeness3/5

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

An output schema exists, so not explaining return values is acceptable, and the untrusted-content warning plus chaining hint cover the most important behavioral concerns. But for a six-parameter versioned lookup with zero schema descriptions, leaving version, ecosystem, and force_refresh unexplained means an agent cannot make informed choices about them.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry the burden of explaining six parameters, and it explains only two (offset/limit as pagination). Package, version, ecosystem, and force_refresh are left entirely undocumented in both schema and description, which is a material gap for a versioned lookup where version/ecosystem selection determines the result.

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 pairs a specific verb ("Inspect") with a specific resource ("untrusted versioned README sections") and notes pagination, so the agent knows this enumerates documentation structure rather than fetching content. It stops short of a 5 because "outline" is never explicitly tied to returning section headings/slugs, though the mention of "a returned slug" implies it.

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 clause "use a returned slug with get_package_docs" establishes a clear two-step workflow and names the sibling to call afterward, which is exactly the kind of routing guidance that matters here. It does not cover when to skip this tool or how it relates to get_official_docs, so it falls short of explicit when/when-not coverage.

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