Skip to main content
Glama

Get a chart's spec

get_chart_spec
Read-only

The component, its props, sizes and the JSON Schema of its data prop, for one chart type by slug (from search_charts). Shape the user's data to the schema.

Input Schema

NameRequiredDescriptionDefault
slugYesThe type's slug, e.g. waterfall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, covering the safety profile. The description adds useful return-content context (component, props, sizes, data schema) but does not discuss errors, limitations, or other behavioral traits.

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 two compact sentences with no wasted words. It packs the return contents, parameter source, and usage instruction efficiently.

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 no output schema, the description carries the burden of explaining return values, and it does so adequately by naming the component, props, sizes, and data JSON Schema. It is complete for correct invocation, though it could mention error behavior or shape details.

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% and the single slug parameter is already documented in the schema. The description adds meaningful origin information by saying the slug comes from search_charts, helping the agent know where to source it.

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?

The description names a specific resource and enumerates what is returned: the component, props, sizes, and the JSON Schema of its data prop for one chart type by slug. It is clear but does not explicitly distinguish itself from siblings such as get_chart_code.

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?

It gives clear context: use a slug from search_charts, and shape the user's data to the returned schema. It does not state when not to use it or name alternatives, so it stops short of full routing guidance.

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.

Resources