Skip to main content
Glama

List examples

list_examples
Read-onlyIdempotent

List all available amCharts 5 code examples, optionally filtered by category.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_examples"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoThe same as `category`.
categoryNoFilter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', 'json-configs' (complete JSON configs from the amCharts npm package), or 'docs-demos' (the demos embedded in the docs pages). A word of a category works too ('gauge', 'line', 'pie'). Without it, all categories are listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', 'json-configs' (complete JSON configs from the amCharts npm package), or 'docs-demos' (the demos embedded in the docs pages). Without it, all categories are listed."New value: +"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', 'json-configs' (complete JSON configs from the amCharts npm package), or 'docs-demos' (the demos embedded in the docs pages). A word of a category works too ('gauge', 'line', 'pie'). Without it, all categories are listed."
    • addedInput schema / properties / type
      Added value: +{
      +  "description": "The same as `category`.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', or 'json-configs' (complete JSON configs from the amCharts npm package). Without it, all categories are listed."New value: +"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', 'json-configs' (complete JSON configs from the amCharts npm package), or 'docs-demos' (the demos embedded in the docs pages). Without it, all categories are listed."
  3. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid'. Without it, all categories are listed."New value: +"Filter by category, e.g. 'column-bar', 'line-area', 'pie-donut', 'maps', 'flow', 'hierarchy', 'stock', 'gantt', 'gauges', 'radar-polar', 'timeline', 'funnel-pyramid', or 'json-configs' (complete JSON configs from the amCharts npm package). Without it, all categories are listed."
  4. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered elsewhere. The description adds only the 'all available' scope and optional filtering, and says nothing about result volume, ordering, or whether pagination applies.

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?

A single front-loaded sentence with no redundant wording; the optional-filter qualifier is placed after the core action. Nothing is padded, though nothing is expanded either.

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

Completeness3/5

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

For a simple two-param, zero-required list tool with rich annotations, the definition is adequate. However, with no output schema, the description never indicates what a listed example looks like (identifiers, names, categories), which an agent needs in order to chain into get_example.

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 100% and the category parameter's description already enumerates valid values and partial-word matching, so the description adds no new parameter meaning. It also omits any mention of the 'type' alias, which the schema defines as equivalent to category.

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 ('List') and resource ('amCharts 5 code examples') with scope ('all available'). It is clearly distinguishable from retrieval-style siblings like get_example or get_doc, though it never names an alternative explicitly.

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?

The phrase 'optionally filtered by category' implies the discovery use case, but there is no explicit statement of when to use this versus search_all or get_example, and no guidance on following up a listed example with get_example.

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.