Skip to main content
Glama

List EDI Item Mappings

list_edi_item_mappings
Read-only

List the EDI item mappings (cross-references): which Spark item each trading partner's SKU or UPC stands for, with the customer's description, unit, the conversion to the Spark unit and the customer price. Filter by tradingPartnerId, itemId or a search over the customer SKU, UPC and description and the item's SKU and name. Paged (page, pageSize up to 200). Requires an operator (unpinned) credential.

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

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page (default 1).
itemIdNoOnly mappings to this Spark item (GUID).
searchNoCase-insensitive text to find in the customer SKU, UPC or description, or the item's SKU or name.
pageSizeNoMappings per page (default 50, max 200).
tradingPartnerIdNoOnly this trading partner's mappings (GUID).

Output Schema

NameRequiredDescriptionDefault
pageNo
totalNo
pageSizeNo
itemMappingsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds two pieces of context not in the annotations: paging behavior (page/pageSize, pageSize up to 200) and an authorization prerequisite ('requires an operator (unpinned) credential'), which is genuinely useful for failure diagnosis.

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 resource definition, then filters, then paging, then the credential caveat — a sensible ordering with no filler sentences. The filter sentence is dense and slightly run-on, which costs a point but not readability.

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?

An output schema exists so return values need no explanation, yet the description still orients the agent on what each mapping contains. Safety annotations, paging limits and the credential requirement are all present; only minor operational details (sort order, whether an empty result is normal) are absent, which is a small gap for a read-only listing tool.

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 100%, so every parameter is already documented with defaults and semantics; the description largely restates the filter set. It does add slight value by clarifying that search spans both customer-side (SKU, UPC, description) and item-side (SKU, name) fields, but that is already reflected in the schema text, so the baseline 3 applies.

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 resource ('List the EDI item mappings') and immediately glosses the resource as cross-references mapping a trading partner's SKU/UPC to a Spark item, including the fields carried (description, unit, converted unit, customer price). This is specific enough to separate it from the mutating siblings (save_edi_item_mapping, delete_edi_item_mapping) and from the analogous Shopify variant.

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 concrete retrieval contexts — filter by tradingPartnerId, itemId, or free-text search across customer SKU/UPC/description and item SKU/name — so an agent knows how to narrow the listing. It stops short of explicitly naming an alternative tool for the non-EDI case (e.g. list_shopify_item_mappings) or saying when not to use it, so it is clear context without routing exclusions.

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