Skip to main content
Glama

Search docs

search_docs
Read-onlyIdempotent

Search the curated amCharts 5 skill docs (SKILL.md + chart references) for a keyword or topic, returning matching sections ranked by relevance. By default it searches only the skill layer. With scope 'all' it also searches the extended docs, the per-class API reference and the code examples. Per-setting defaults (e.g. tooltip background cornerRadius, axis tick visible default, cursor line strokeDasharray) are in the extended docs and the API reference, which search_all, get_api_reference and get_doc also return.

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
queryYesSearch query, e.g. 'legend', 'axis label rotation', 'tooltip format', 'data processor'
scopeNo'skill' (default) searches only the curated skill docs; 'all' also searches the extended docs / per-class API reference where settings and defaults live, and the code examples.skill
maxResultsNoMaximum number of results to return (default 5)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false, destructiveHint=false, so safety is covered. The description adds genuinely useful behavior context the annotations don't: results are ranked by relevance sections, and the default search surface is the curated skill layer only. It does not discuss pagination or result-count interaction beyond the schema's maxResults, costing it a point.

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?

Three sentences, front-loaded with the core action and scope default before the extended-docs caveat. Dense and mostly waste-free, though the final sentence about where setting defaults live is more routing advice than search behavior and stretches the definition slightly.

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 only 3 params, a fully documented schema, and annotations covering safety, the description supplies what's missing: what the layers contain, which scope reaches them, and the relevance-ranked return. No output schema exists, but 'matching sections ranked by relevance' is enough of a return signal; only the exact result object shape is unspecified.

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%, so the baseline is 3. The description reinforces the scope enum's meaning and hints at what kinds of queries pay off ('per-setting defaults... are in the extended docs'), but it largely restates what the schema's scope and query descriptions already say rather than adding new syntax or format detail.

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

Purpose4/5

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

States a specific verb and resource ('Search the curated amCharts 5 skill docs (SKILL.md + chart references)') and describes the return shape ('matching sections ranked by relevance'). It distinguishes the default skill-only scope from the broader scope 'all', but leaves a real ambiguity with the sibling search_all: why use search_docs with scope='all' instead of search_all is never resolved.

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 selection context for the scope parameter: default 'skill' for the curated layer, 'all' when the answer requires extended docs, per-class API reference, or code examples. It also routes agents toward get_api_reference/get_doc for per-setting defaults. It stops short of stating exclusions (e.g., when NOT to use this in favor of search_all) 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.