Skip to main content
Glama

fill_workbook

Destructive

Writes column/value rows to a new local XLSX while preserving the empty template, enabling Shopee bulk-ad spreadsheet preparation from structured row data.

Instructions

Write column/value rows to a new local XLSX, preserving the empty template.

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": {
      "template_path": "<template_path>",
      "output_path": "<output_path>",
      "rows": "<rows>"
    },
    "name": "fill_workbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYes
overwriteNo
output_pathYes
template_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and readOnlyHint=false, so the safety profile is partly covered. The description adds useful context that the template is left intact and the XLSX is new, but it says nothing about the risky overwrite path or what happens when output_path already exists — the main destructive behavior behind the annotation.

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?

A single efficient sentence with the key constraint front-loaded and no filler. It is arguably too terse for a 4-parameter destructive tool, but nothing is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema means return values need no explanation, but for a destructive write tool with 0% parameter coverage and three required paths, the definition leaves too much to inference. The overwrite semantics and the expected row object shape are the notable holes.

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

Parameters2/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 full burden. It hints at the rows shape ('column/value rows') and implicitly maps template_path and output_path, but 'overwrite' is entirely unaddressed despite being the parameter controlling destructive behavior.

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?

States a specific verb ('Write') and resource ('column/value rows to a new local XLSX') with a scoping constraint ('preserving the empty template'). It is clear enough to distinguish from inspect_template or validate_rows, though it never names a sibling explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance relative to validate_rows, inspect_template, or build_listings. The agent must infer that this is the final write step after validating rows, and nothing states prerequisites such as whether rows must first pass validation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.