Skip to main content
Glama

search_orderly_docs

Read-onlyIdempotent

Search bundled Orderly docs and SDK symbols by topic or question. Returns up to limit ranked Markdown results with relevance scores: scope: 'sdk' returns hooks/components/types/functions with signatures, props, and source paths; 'docs' returns prose; 'auto' (default) picks the corpus from the query. Use 'sdk' for exact symbol signatures and detail: 'full' only when the summary is insufficient, since it returns much longer text. Read-only local search — no network calls, credentials, rate limits, or side effects. Use for open-ended discovery when the component, workflow, or endpoint is unknown; for a known component use get_component_guide, for a task walkthrough use explain_workflow, for an endpoint use get_api_info, get_indexer_api_info, get_public_info_api_info, or get_strategy_vault_api_info, and for addresses use get_contract_addresses.

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_orderly_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of results to return (default: 5)
queryYesSearch query about Orderly Network (e.g., 'how does the vault work', 'trading fees', 'order types')
scopeNoWhich corpus to search: 'sdk' for type-accurate SDK symbols (hooks/components/types/functions), 'docs' for protocol documentation, or 'auto' (default) which detects intent from the query (camelCase/use* names → SDK, plain language → docs)auto
detailNo'summary' (default) truncates long documentation sections to keep responses compact; 'full' returns complete section textsummary

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?

Adds useful behavior beyond the annotations: ranked Markdown results with relevance scores, scope-specific return content, detail truncation, and confirmation that search is local with no network calls, credentials, rate limits, or side effects. The annotations already establish read-only and idempotent safety, so this is strong but not exhaustive about result shape or edge cases.

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?

Front-loads the purpose and return behavior, then moves to scope/detail guidance, safety, and sibling routing. The content earns its place, though the long routing sentence is dense and could be more scannable.

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 and many siblings, it provides enough context to call correctly: purpose, return format, scope semantics, detail tradeoff, safety profile, and routing guidance. The only minor omission is one endpoint sibling in the alternatives list.

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 practical meaning: use sdk for exact symbol signatures, use full only when the summary is insufficient because it returns much longer text, and auto picks the corpus from the query. It adds little about limit beyond the schema, but the scope and detail guidance is valuable.

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: searching bundled Orderly docs and SDK symbols by topic or question. It also explicitly distinguishes itself from sibling tools for known components, workflows, endpoints, and addresses, so an agent can identify its role immediately.

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 clear when-to-use guidance: open-ended discovery when the component, workflow, or endpoint is unknown, plus when to choose SDK scope or full detail. It lists most alternatives, but omits get_orderly_one_api_info from the endpoint-routing alternatives, leaving a small gap among the sibling tools.

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.