Skip to main content
Glama

get_component_guide

Read-onlyIdempotent

Get a curated build guide for a React UI component from the Orderly SDK, such as order-entry, orderbook, positions, or wallet-connector. Returns Markdown with required packages, key hooks, a complete TSX example, tips, styling notes, common mistakes, and related components; complexity selects the example depth — 'minimal' for a scaffold, 'advanced' for production wiring — and falls back to 'standard'. Guides include full code and can be long; a miss lists available guides and points to search_orderly_docs. Read-only static guidance — no network calls, credentials, rate limits, or side effects. Use for a known UI component; for SDK hook/type signatures use search_orderly_docs (scope 'sdk'), for end-to-end steps use explain_workflow, and for backend endpoints use get_api_info or the matching domain API tool.

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": {
      "component": "<component>"
    },
    "name": "get_component_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
componentYesComponent type (e.g., 'order-entry', 'orderbook', 'positions', 'wallet-connector')
complexityNoGuide complexity ('minimal', 'standard', 'advanced')standard

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, and the description goes further by disclosing output shape (Markdown with packages, hooks, full TSX example, tips, styling notes, common mistakes, related components), a size warning ('can be long'), and miss behavior ('a miss lists available guides'). The complexity fallback to 'standard' is also stated, which the annotations cannot express.

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?

It is front-loaded: purpose first, then return contents, then complexity behavior, then the routing sentence. It is dense rather than padded, though the final routing sentence is a long chain of alternatives that could be broken up for faster scanning.

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?

There is no output schema, so the description carries the burden of explaining return values, and it does so thoroughly (Markdown contents, length, miss behavior). Combined with the explicit alternative routing and complexity fallback, an agent has everything needed to call this correctly on the first attempt.

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 beyond the schema by explaining what 'complexity' actually changes — 'minimal' for a scaffold, 'advanced' for production wiring — and the fallback to 'standard'. The 'component' parameter is only illustrated with examples the schema already lists, so it adds no new semantics there.

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?

The description opens with a specific verb and resource ('Get a curated build guide for a React UI component from the Orderly SDK') and enumerates concrete component names, so an agent knows exactly what comes back. It also distinguishes itself from siblings by naming search_orderly_docs, explain_workflow, and get_api_info with the conditions that select them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives an explicit positive condition ('Use for a known UI component') and three explicit exclusions routed to alternatives: SDK hook/type signatures to search_orderly_docs with scope 'sdk', end-to-end steps to explain_workflow, and backend endpoints to get_api_info or the domain API tool. Nothing about tool selection is left to inference.

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.