Skip to main content
Glama

WYP.chat documentation

Read a WYP.chat documentation page

get_doc_page
Read-onlyIdempotent

Returns the Markdown of one documentation page, as published at its .md address. Pass the url from search_docs or list_doc_pages (https://wyp.chat/... with or without .md, or just the path). With lang, returns the same page in that language when it exists. Long pages are cut: continue with offset.

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

Input Schema

NameRequiredDescriptionDefault
urlYesAddress of a page, for example https://wyp.chat/aide/premiers-pas or /aide/premiers-pas.
langNoReturn the same page in this language (optional).
offsetNoCharacter to start from, to read a long page in parts.
max_charsNoLargest part to return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds genuine behavior beyond that: return format is Markdown, long pages are truncated and must be resumed via offset, and lang returns the page only 'when it exists' (implying fallback otherwise). Missing only error/not-found behavior to reach a 5.

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?

Four short sentences, front-loaded with the return format, then the sourcing rule, then the two behavioral caveats (lang, truncation). No filler and nothing buried.

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?

For a 4-parameter read tool with full schema coverage and annotations, the description covers return format, address flexibility, language fallback, and pagination. It does not explain what happens for a missing page or an unavailable language, which is the remaining gap.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning: url may include or omit the .md suffix or be a bare path, and offset is framed as the resume mechanism for long pages. This complements rather than repeats the schema text.

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

Purpose5/5

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

States a specific verb and resource ('Returns the Markdown of one documentation page') plus the addressing mode ('.md address'), which separates it cleanly from search_docs and list_doc_pages that merely supply the url. An agent knows exactly what comes back (Markdown of a single page).

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?

Gives an explicit workflow: obtain the url from search_docs or list_doc_pages, then call this. Also states how to continue truncated reads ('continue with offset') and the conditional behavior of lang. Lacks an explicit when-not-to-use case, so it falls 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources