Skip to main content
Glama

EuroCompliance Studio & Ultrathink Edge MCP (36 Tools)

sanitize_shopify_hts_csv

Read-onlyIdempotent

Audit & sanitize a Shopify products_export.csv for stripped leading zeros (9-digit HTS -> 10-digit) and 6-digit HTS truncations.

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": "sanitize_shopify_hts_csv"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvNoRaw Shopify products_export.csv text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so an agent knows this is a safe, repeatable transformation on supplied text. The description usefully adds that the operation both audits and repairs two specific defect patterns, but it says nothing about what the response contains, whether unfixable rows are reported, or whether the original text is echoed back. 'Sanitize' correctly refers to transforming the input string, not mutating stored data, so there is no annotation conflict.

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?

One dense sentence, front-loaded with the audit-and-repair framing and followed by the two specific defect patterns with a concrete digit-width example. Nothing is redundant, though the parenthetical shorthand is compact enough to border on cryptic for an agent unfamiliar with HTS codes.

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?

No output schema exists, so the description bears responsibility for explaining what comes back, and it does not — an agent cannot tell whether it receives the corrected CSV, a diff, a per-row audit report, or a count of repairs. It is otherwise adequate for a single-input transformation tool, but the missing return-value statement is a real gap.

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?

There is a single parameter at 100% schema coverage, so the schema already documents that 'csv' is the raw products_export.csv text. The description adds no format constraints — size limits, encoding, header expectations, or whether headers must be preserved — beyond what the schema states. Baseline 3 is appropriate when the schema carries the parameter semantics.

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 description names a specific verb pair ('Audit & sanitize') and a concrete resource ('Shopify products_export.csv'), then narrows the scope to two named defect classes (stripped leading zeros and 6-digit truncations). An agent can tell this is a CSV-repair tool rather than a lookup or a generic file utility. It stops short of naming a sibling to differentiate against, so a 4 rather than a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the agent must infer it should call this when it holds a Shopify export containing malformed 9- or 6-digit HTS codes. There is no explicit when-to-use statement, no prerequisite (e.g. that the file must be a raw export), and no mention of an alternative tool such as tariff_hts_lookup for validating codes that are not truncated.

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.