Skip to main content
Glama

Get table format options schema

get_table_spec_json_schema
Read-only

Get Table Spec Json Schema

When to use: 표(Table) 스펙 문서({version, defaults} 래퍼)를 코드로 직접 파싱할 구조적 스키마가 필요할 때. 표기 옵션 값 목록이 필요하면 table-spec 도구를 쓴다.

Limitations: 버전 파라미터가 없다 — 항상 최신 스펙 하나만 반환한다. 독립된 tableConfig 를 검증하려면 이 최상위 스키마가 아니라, defaults 가 참조하는 중첩 TableConfig 정의(반환된 JSON Schema 의 definitions 아래에 있음)를 써야 한다. 이 스키마는 TableSpec 모델을 설명할 뿐, table-spec 도구 응답의 spec 필드와는 맞지 않는다 — 그 필드는 레거시 {enums, properties, defaults} 형태를 쓴다.

Examples:

  • Q: 표 차트 스펙 문서를 코드로 파싱할 수 있게 구조적 스키마로 줘 params: {}

Output shape: object: JSON Schema

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_json_schema"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), yet the description still adds real behavioral context: there is no version parameter so it always returns the single latest spec, and the returned schema describes the TableSpec model rather than the legacy {enums, properties, defaults} shape used by the table-spec tool's spec field. That mismatch warning is exactly the kind of trait annotations cannot express.

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?

Sections are clearly labeled (When to use / Limitations / Examples / Output shape) and the actionable guidance is front-loaded. The only waste is the verbatim title restatement on the first line and a mildly redundant 'Output shape' line when an output schema already exists.

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 explained, and with no input parameters there is nothing else structurally required. The description nonetheless covers the latest-only behavior, the nested-definition caveat, and a usage example, leaving no gap for an agent to trip over.

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?

The tool takes zero parameters, so the baseline is 4. The description still clarifies the absence of a version parameter and that only the newest spec is returned, which is meaningful semantics an empty schema cannot convey.

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 opening line merely restates the title, but the 'When to use' sentence specifies exactly what is returned: a structural JSON Schema for parsing the table spec document ({version, defaults} wrapper) in code. It also distinguishes itself from the sibling table-spec tool, which serves a different need (enumerated option values).

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?

It states the condition for use (you need a parseable structural schema), names the alternative tool and the condition that selects it (option value lists → table-spec), and adds explicit exclusions. The Limitations block goes further by warning that standalone tableConfig validation requires the nested TableConfig definition under definitions instead of this top-level schema.

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