Skip to main content
Glama

Get table format options

get_table_spec
Read-only

Get Table Spec

When to use: 표(Table) 차트의 통화 기호·소수 자릿수·천단위 구분 같은 tableConfig 표기 옵션에 어떤 값이 가능한지 확인할 때. 차트 컴파일 도구는 이 표기를 만들어 주지 않으므로, tableConfig 에 직접 채워 넣기 전에 이 도구로 확인한다.

Limitations: spec 필드에 레거시 {enums, properties, defaults} 형태로 담아 반환한다. version 생략 시 최신(current) 스펙을 반환하며, 존재하지 않는 버전은 404. 구조적 JSON Schema 가 필요하면 table-spec json-schema 변형을 쓴다.

Examples:

  • Q: 표 차트의 통화·소수 자릿수 표기 옵션이 뭐가 있는지 알려줘 params: {'query': {'version': 'current'}}

Output shape: object: {version, spec: {version, enums, properties, defaults}}

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_table_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 cover the safety profile (readOnly, non-destructive, closed-world), and the description adds behavior beyond that: the spec is returned in a legacy {enums, properties, defaults} shape, omitting version returns the current spec, and a nonexistent version yields 404. Those are exactly the caveats an agent needs before wiring the output into tableConfig.

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?

The When to use / Limitations / Examples / Output shape structure is front-loaded and easy to scan, and every section carries information. Points are lost for the redundant 'Get Table Spec' heading restating the tool name and for the 'Output shape' line, which largely duplicates the output schema that is already supplied.

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?

For a single optional-parameter read tool with an output schema, this covers the essentials: purpose, precondition, alternative sibling, default behavior, error behavior, and an example invocation. Nothing an agent needs in order to call it correctly is missing.

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 0%, so the description carries the burden. It explains the default ('version 생략 시 최신(current) 스펙'), gives a worked example with version='current', and documents the failure case (404 for unknown versions). It stops short of describing valid version-string formats or how to discover other version identifiers, so it does not fully close the coverage gap.

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 names the concrete resource and scope: it returns the set of allowable values for tableConfig display options (currency symbol, decimal places, thousands separator) on table charts. It also states what the tool is not — the chart-compilation tool does not generate this notation — and points to the json-schema variant, so an agent can separate it from the sibling set 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?

There is an explicit 'When to use' clause tied to a concrete precondition (before hand-filling tableConfig), plus a 'Limitations' clause naming the alternative ('table-spec json-schema 변형') for callers who need a structural JSON Schema. Both when-to-use and when-to-use-something-else are stated.

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