Skip to main content
Glama

Get chart options

get_chart_spec
Read-only

Get Spec

When to use: 차트 종류별로 어떤 옵션 값과 기본값을 쓸 수 있는지 전체 스펙을 확인할 때. 필드가 가질 수 있는 값 목록·기본값을 돌려준다. 차트 설정의 타입·필수 여부 같은 구조는 이 응답의 spec.chart_types[].config_schema 에 있다(비어 있는 차트 종류도 있다). json-schema 변형은 스펙 문서 자체의 구조라 차트 설정 구조를 찾는 데 쓰지 않는다.

Limitations: 응답이 약 124KB 로 매우 크다 — 같은 대화(conversation) 안에서는 한 번만 불러 재사용하고, 매 차트마다 다시 부르지 않는다. version 생략 시 최신(current) 스펙을 반환하며, 존재하지 않는 버전은 404.

Examples:

  • Q: COLUMN 차트에 어떤 설정을 쓸 수 있는지 전체 스펙을 보여줘 params: {'query': {'version': 'current'}}

Output shape: object: {version, spec}

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": "get_chart_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
versionNocurrent

Output Schema

NameRequiredDescriptionDefault

No arguments

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=true, destructiveHint=false, openWorldHint=false, so the safety profile is covered; the description adds behavior beyond that: the response is ~124KB, so it should be called once per conversation and reused rather than re-fetched per chart, and a nonexistent version returns 404. These are concrete operational traits an agent cannot infer from structured fields.

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?

Front-loaded with the when-to-use condition, then limitations, then an example with concrete params, then output shape — a well-ordered structure with no filler. Minor waste in repeating the title as a bare 'Get Spec' header and in the mixed Korean/English presentation, but nothing substantive is redundant.

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?

An output schema exists, so return values need not be spelled out, yet the description still gives the shape ({version, spec}) and where config_schema lives inside it. Combined with the size/caching warning and 404 behavior, an agent has everything needed to call this correctly and efficiently.

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 description coverage is 0%, so the description must carry the single optional 'version' parameter — and it does, stating that omitting it returns the latest (current) spec and that a nonexistent version yields 404. It does not explain the accepted version-string grammar (the schema's pattern/maxLength are unmentioned), which is the only remaining gap for a one-parameter tool.

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 'When to use' line states a specific verb and resource: retrieve the full spec of available option values and defaults per chart type. It also explicitly distinguishes itself from the json-schema sibling by saying that variant describes the spec document's own structure, not chart config, and points to spec.chart_types[<type>].config_schema for config structure. An agent can pick between get_chart_spec and get_chart_spec_json_schema without opening either schema.

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?

Explicit when-to-use ('차트 종류별로 어떤 옵션 값과 기본값을 쓸 수 있는지 전체 스펙을 확인할 때') plus an explicit when-not-to-use for the json-schema variant. It also warns that some chart types have empty config_schema, which prevents a false-negative interpretation of the response.

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