Skip to main content
Glama

docs_refresh

Updates the local docs catalog from the official sitemap for a chosen version, requiring explicit confirmation to run the network refresh.

Instructions

Refresh the local docs catalog from the official sitemap.

Args: version: Docs version. confirm: Must be True to perform the network refresh.

Returns: Index summary or a confirmation request.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "docs_refresh"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNo
versionNo8.3

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description does real work: it discloses that the operation performs a network fetch, that confirm=True is required to actually execute it, and that a call without confirmation returns a request for confirmation instead. It does not say whether the refresh replaces or merges the existing catalog, what happens on network failure, or whether credentials are needed.

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?

Purpose is front-loaded in the first sentence and the Args/Returns breakdown is compact with no filler. The docstring-style formatting is slightly heavier than prose would be but every line carries information.

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 return values need minimal explanation, and both optional parameters are addressed. However, for an unannotated tool that hits the network and mutates a local catalog, the description omits failure behavior, whether the refresh is additive or destructive, and guidance on selecting a version.

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

Parameters4/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 load, and it does for the critical parameter: 'Must be True to perform the network refresh' explains the gating semantics that the bare 'Confirm' title cannot. The version parameter is only glossed as 'Docs version' without listing valid values or explaining the 8.3 default, which leaves a gap.

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 first sentence gives a concrete verb and resource ('Refresh the local docs catalog') plus the source ('official sitemap'), which clearly separates it from read-only siblings like docs_search or docs_get_page. It stops short of naming an alternative, but the operation is unambiguous.

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 only implied: the confirm gate hints this is an occasional maintenance action rather than a per-query call, but the description never says when an agent should refresh versus just querying the cached catalog, nor how often.

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