Skip to main content
Glama

tme_export_quickbuy

Generate a TME Quick Buy CSV from BOM lines for upload at tme.eu, with optional review rows; existing files are preserved via timestamps.

Instructions

Write a TME Quick Buy file into PARTS_EXPORT_DIR: "SYMBOL;QTY" per line, no header, LF line endings, extension .csv (byte-for-byte the shape of TME's own cart export).

Upload only this file at tme.eu -> Quick Buy -> "Upload products from file", review, then "Add to cart". Optionally also writes review_rows (list of dicts) as -review.csv, which is for you to read and must NOT be uploaded. Existing files are never overwritten (a timestamp is appended).

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": {
      "lines": "<lines>",
      "name": "<name>"
    },
    "name": "tme_export_quickbuy"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
linesYes
review_rowsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds the crucial detail that existing files are never overwritten because a timestamp is appended, which substantiates the non-destructive claim. It also discloses the exact on-disk format and the dual-file side effect. It does not say what the call returns (e.g., the written path), which matters since there is no output schema.

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?

Front-loaded with the primary action and format, followed by the upload workflow and the review_rows caveat; nearly every sentence carries distinct information. The nested quoting and line breaks make it slightly denser than necessary but nothing is redundant.

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

Completeness3/5

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

For a write-side tool with no output schema and 0% schema coverage, the format and non-overwrite behavior are well covered, but the agent still lacks the line-object key contract and the return value (path/location of the written file). Those gaps could cause a malformed or unlocatable export.

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 the parameters. It implies `name` is a basename via the '<name>-review.csv' pattern and describes the emitted line shape as SYMBOL;QTY, but never states the required key names inside each `lines` dict (additionalProperties is open) or the type/format of qty. That leaves the most error-prone parameter partially undocumented.

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?

States a specific verb and artifact: writes a TME Quick Buy file into PARTS_EXPORT_DIR with an exact byte-level format ("SYMBOL;QTY", no header, LF, .csv). This is unmistakably distinct from the read-oriented siblings (tme_products, tme_prices_stock, tme_quote) without needing to name them.

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?

Gives a concrete downstream workflow (upload only this file at tme.eu -> Quick Buy -> 'Upload products from file', review, then 'Add to cart') and an explicit exclusion: the -review.csv must NOT be uploaded. It does not say when to prefer this over alternatives such as tme_quote, but the use context is clear.

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