Skip to main content
Glama

WYP.chat documentation

Search the WYP.chat documentation

search_docs
Read-onlyIdempotent

Free-text search in the WYP.chat help centre, guides, glossary, industry pages and channel pages (French, Spanish, English). Returns the best matching pages with title, canonical url, Markdown url, type, language, last update and an excerpt. Read a result with get_doc_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": {
      "query": "<query>"
    },
    "name": "search_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoOnly pages in this language (optional).
typeNoOnly this kind of page: help (app help centre), guides, glossary, industries (pages by trade) or channels (WhatsApp, Instagram, Messenger, Telegram, email, website chat) (optional).
limitNoNumber of results (1 to 10).
queryYesWords to look for, in any of the three languages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/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 closed-world behavior, so the safety profile needs no restating. The description adds real value by enumerating the returned fields (title, canonical url, Markdown url, type, language, last update, excerpt), which matters because no output schema exists.

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?

Two sentences, zero filler: the scope statement comes first and the follow-up action second. Every clause carries information an agent needs.

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

Completeness5/5

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

For a four-parameter search tool with no output schema, the description supplies exactly the missing pieces: the corpus searched, the languages covered, and the shape of each result. Nothing required to call it correctly or interpret the response is absent.

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 enums (lang, type) are documented with per-value explanations in the schema itself. The description's mention of languages and page categories largely mirrors that, adding no syntax, matching, or ranking guidance beyond it, so baseline 3 applies.

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 (free-text search) and resource (WYP.chat help centre, guides, glossary, industry and channel pages) plus the language scope. The closing sentence routes the agent to get_doc_page for reading a hit, so the distinction from the read sibling is explicit.

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 workflow is clear: search here, then 'Read a result with get_doc_page' — the alternative and the condition selecting it are named. It does not cover when to prefer list_doc_pages over searching, which keeps it 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