Skip to main content
Glama

On 공문서 쓰기

표 자료를 그래프 그림으로

on_chart

[On 공문서 쓰기] 표 자료(「항목 | 값」 줄·탭·한 줄 나열)를 공문서용 그래프 그림(PNG — 막대·꺾은선·원·가로막대, 색 5가지)으로 그린다 — On 문서 화면 「그래프로」와 같은 규칙·같은 그림. 종류를 주지 않으면 자료에 맞게 고른다. 그린 뒤 자료의 숫자가 모두 그림 글(값·항목·범례·※ 줄)과 제목·단위·자료 줄에 있는지, 막대 길이·점 높이·값 글 자리가 값과 맞는지 대조하고, 어긋나면 그림 대신 까닭을 낸다. Draw a chart PNG from table data with number/geometry checks. 자료 2만 자·그림 높이 제한.

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": {
      "text": "<text>"
    },
    "name": "on_chart"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
textYes그래프 자료 — 첫 줄 머리 칸(항목 | 계열)
unitNo
colorNo청록(기본)·남색·회색·자주·갈색
titleNo
sourceNo
up_meansNo▲ 를 늘어남(plus)·줄어듦(minus) 가운데 어느 쪽으로 읽을지 — 적자·감소 같은 말이 있어 물을 때만
show_valuesNo값 표시(기본 켬)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (which only say this is a non-read-only, non-destructive, non-idempotent operation), the description discloses the post-render verification pass over values and geometry, the failure mode of returning a reason instead of an image, and hard limits (20,000 characters of data, chart height cap). That is exactly the behavioral context an agent needs before calling.

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?

Purpose is front-loaded and the trailing English sentence plus limit line are compact, but the main Korean sentence is long and clause-heavy, bundling rendering and verification into one breath. Nothing is wasted, yet it could be split for faster parsing.

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 still covers what comes back (a PNG, or a reason on mismatch), the verification criteria, and operational limits. For an 8-parameter generation tool, nothing essential is missing for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%, and the description compensates only partly: it explains the default behavior for 'kind', the text input layout, and how title/unit appear in the verification check. 'source' and the enum values of 'kind'/'color' are left entirely to the schema, so this is baseline-plus rather than genuinely clarifying.

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 gives a specific verb and resource ('표 자료를 ... 그래프 그림(PNG)으로 그린다'), enumerates the four chart kinds and five colors, and names the source format (item|value lines, tabs, single-line lists). An agent can distinguish this from on_table and on_diagram without opening any schema.

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 states the input shapes the tool accepts and tells the agent that omitting 'kind' triggers automatic selection, which is real usage guidance. It never names a sibling or an explicit when-not-to-use condition, so it falls short of a 5.

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.