Skip to main content
Glama

fetch_full_docs

Retrieves a complete WordPress developer documentation page as readable markdown. Use it after finding relevant URLs with docs search to get full content.

Instructions

Retrieve a complete documentation page from developer.wordpress.org. Use this after finding relevant URLs via search_docs to get the full content. Converts HTML to readable markdown format.

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": {
      "url": "<url>",
      "conversationId": "<conversationId>"
    },
    "name": "fetch_full_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL or path of the documentation page to fetch. Example: 'https://developer.wordpress.org/rest-api/reference/posts/' or '/rest-api/reference/posts/'
conversationIdYesThe conversation ID obtained from learn_wordpress_api.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

There are no annotations, so the description carries the full behavioral burden. It does disclose that output is converted from HTML to readable markdown and that input is a developer.wordpress.org page, but says nothing about auth/prerequisites, rate limits, page truncation or size limits, or failure behavior for invalid URLs.

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?

Three short sentences, front-loaded with the action and source, then the sequencing rule, then the output format. Every sentence carries distinct information with no repetition.

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?

For a simple two-parameter read tool with a fully described schema, most of what an agent needs is present. However, with no annotations and no output schema, the description should say more about what comes back (truncation, size, error cases) and any prerequisites for use.

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% and both parameters are documented there, including the URL format examples and the conversationId provenance. The description adds no parameter-level meaning beyond the schema, which is the baseline expectation at full coverage.

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?

States a specific verb and resource ('Retrieve a complete documentation page from developer.wordpress.org') and distinguishes itself from search_docs by being the full-content fetch rather than the discovery step. Clear without needing the title.

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?

Explicitly sequences usage: 'Use this after finding relevant URLs via search_docs to get the full content.' That is a concrete when-to-use rule tied to a named sibling. No when-not-to-use case (e.g., don't use for non-doc URLs), so it stops short of a 5.

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