Skip to main content
Glama

Export matching tabs to Google Sheets

export_sheet_matching_tabs
Destructive

Export Sheet Source

When to use: 고객 스프레드시트의 '미매칭 옵션'·'기초 상품' 탭을 지금 데이터로 다시 쓸 때 — 아직 매칭되지 않은 옵션과 기초 상품 목록을 보고 매칭 입력 탭을 채우게 하려는 경우.

When NOT to use: 마지막 내보내기 결과만 보려면 list_sheet_matching_sources 의 last_export 를 본다.

Limitations: ⚠️ 고객 시트의 두 탭을 통째로 덮어쓴다(매칭 입력 탭은 건드리지 않는다). 마트 갱신 뒤에는 자동으로 돌므로 보통은 부를 필요가 없다. 마지막 내보내기(마트 갱신 뒤 자동 실행 포함)가 성공한 뒤 5분 안에 다시 부르면 429 (retry_after_seconds 만큼 기다린다), 실행 중이면 409. 결과는 last_export 에 남는다 — FAILED 면 error 에 고객이 할 일이 있다. data_management:write 와 기초 상품 읽기 권한 필요.

Examples:

  • Q: 시트에 미매칭 옵션 목록 다시 내보내줘 params: {'path': {'data_id': 1}}

Output shape: object: {data_id, sheet, last_export{state, trigger, started_at, finished_at, unmatched_options, base_products, error}, …}

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": {
      "data_id": "<data_id>"
    },
    "name": "export_sheet_matching_tabs"
  }
}

Input Schema

NameRequiredDescriptionDefault
data_idYes
project-idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, the description discloses that both customer tabs are overwritten wholesale while the matching-input tab is left untouched, that the operation auto-triggers after mart refresh, that a repeat call within 5 minutes returns 429 with retry_after_seconds and a concurrent run returns 409, and that required permissions are data_management:write plus base-product read. This is far richer than the annotations alone.

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 sectioned layout (when to use / when not / limitations / examples / output shape) is easy to scan and front-loads the decision-relevant scenario. It is somewhat long and the vague opening line plus mixed-language phrasing cost a little crispness, but no section is filler.

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?

For a destructive, rate-limited mutation with permissions requirements, the description covers side effects, error states, timing constraints, and even the last_export result shape (despite an output schema existing). The only meaningful gap is the unexplained optional project-id parameter.

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 description coverage is 0%, so the description must carry parameter meaning. The example shows data_id being supplied (as {'path': {'data_id': 1}}), giving some semantic grounding, but the optional project-id parameter is never explained anywhere, leaving half the parameters undocumented.

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 'When to use' section states concretely that this rewrites the customer spreadsheet's '미매칭 옵션' and '기초 상품' tabs with current data, and the name plus examples make the verb+resource identifiable. The leading line 'Export Sheet Source' is vague, and the heavy mixing of Korean prose with English field names slightly slows parsing, but the body removes ambiguity about what the tool does.

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 explicitly gives a 'When to use' scenario and a 'When NOT to use' path pointing at the sibling `list_sheet_matching_sources` last_export for the read-only case. It also notes the tool usually auto-runs after a mart refresh and so normally need not be called, which is exactly the kind of routing guidance an agent needs.

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