Skip to main content
Glama

Get chart reference

get_chart_reference
Read-onlyIdempotent

Get the reference documentation for a specific amCharts 5 chart type. A reference longer than 12,000 characters comes as an overview: its first parts in full and a list of the others, each of which get_section returns. With full: true it is the whole file. The chart type keywords are listed by list_chart_types.

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": {
      "chartType": "<chartType>"
    },
    "name": "get_chart_reference"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNotrue: the whole reference, however long. false (default): an overview when it is long.
chartTypeYesChart type keyword, e.g. 'pie', 'sankey', 'xy', 'treemap', 'map', 'radar', 'stock', 'gantt', 'venn', 'wordcloud', 'timeline', 'flow', 'hierarchy', 'ui-elements'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / full
      Added value: +{
      +  "default": false,
      +  "description": "true: the whole reference, however long. false (default): an overview when it is long.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive behavior, and closed-world scope, so the safety profile is covered. The description adds important return-shape behavior beyond the annotations: references over 12,000 characters are truncated to an overview, and `full: true` returns the whole file. This is valuable operational context, though there is no mention of error cases or auth.

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?

The description is three efficient sentences with no wasted language. The core purpose is front-loaded, followed by the key truncation behavior and cross-reference, making it easy to scan.

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?

With no output schema, the description carries the burden of explaining return behavior, and it does so by describing the overview mode, the `full: true` behavior, and how get_section relates to the listed sections. For a two-parameter lookup tool with complete schema coverage and safe annotations, this is sufficiently complete.

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. The description still adds some meaning beyond the schema by pointing to list_chart_types as the source of valid chart type keywords and by explaining the 12,000-character threshold that governs the `full` parameter's effect.

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 states a specific verb and resource: 'Get the reference documentation for a specific amCharts 5 chart type.' It distinguishes the tool from related operations by naming list_chart_types for keywords and get_section for individual sections, so an agent can select it without opening sibling schemas.

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?

The description gives clear context: use list_chart_types to find valid chart type keywords, and use get_section when a long reference is returned as an overview. It does not explicitly state when not to use this tool versus get_core_reference or get_api_reference, but the resource-specific purpose is clear.

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.