Skip to main content
Glama

PredictAsiaX MCP Server

Search the docs

pax.docs_search
Read-onlyIdempotent

Full-text search over the PredictAsiaX developer docs (docs.predictasiax.com): guides, every REST endpoint and every WebSocket message. Returns the best-matching sections with a link to the exact anchor, a snippet and, with include_content, the section's Markdown. Searches the language of the query (en, zh-Hans, zh-Hant, ja, ko, vi, th, id) and falls back to English. No credential needed.

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": "pax.docs_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNoguides = documentation pages; api = REST endpoints and WebSocket messages; all = bothall
langNoDocs language. Default: detected from the query's script, otherwise en
limitNo
queryYesWhat to look for, in any of the eight languages; endpoint paths, field names and error codes work too (e.g. 'cancel all orders', 'HMAC signing', 'INSUFFICIENT_BALANCE')
include_contentNoReturn each section's full Markdown (up to 8000 characters) instead of only a snippet

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/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, so the safety profile is covered. The description adds meaningful behavior beyond that: language is detected from the query script with an English fallback, results are ranked best-matching sections with exact anchor links, include_content swaps the snippet for the section's Markdown, and no credential is required. It does not state result-count behavior or what happens on zero hits.

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 sentences, front-loaded with what is searched and what comes back, then language handling, then the auth note. Every clause carries information an agent would otherwise have to guess, and nothing is repeated unnecessarily.

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?

With no output schema, the description correctly shoulders the burden of explaining return values (anchor link, snippet, optional Markdown) and covers the credential requirement and multilingual behavior. It is slightly thin on result sizing and empty-result behavior, but the limit parameter and its maximum in the schema largely close that gap.

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 coverage is 80%, so the baseline is 3 and the schema already documents kind, lang, limit and include_content thoroughly, including defaults and enums. The description's language-fallback sentence largely restates the lang parameter's own description and adds no syntax or edge-case detail for query or limit beyond what the schema provides.

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 (full-text search over PredictAsiaX developer docs) and enumerates the indexed scope: guides, every REST endpoint and every WebSocket message. That scope plus the snippet/anchor return shape lets an agent distinguish it from a page-fetching sibling like pax.docs_read without opening either schema.

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 implied rather than stated: an agent can infer it should search when it doesn't know which page holds the answer, and the 'endpoint paths, field names and error codes work too' note in the schema hints at lookup-style queries. However, the description never says when to prefer this over pax.docs_read or when not to use it, and gives no exclusions or alternatives.

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