Skip to main content
Glama

List EDI Transactions

list_edi_transactions
Read-only

List EDI transactions, newest first: partner, document type (850 purchase order, 855 acknowledgment, 856 ship notice, 810 invoice, 997 functional ack, 846 inventory advice), direction, status, control and PO numbers, error, linked sales order, invoice or shipment, and timestamps. Filter by tradingPartnerId, direction, status, documentType or a search over control and PO numbers. Paged (page, pageSize up to 200). Open one with get_edi_transaction. 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_transactions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo1-based page (default 1).
searchNoCase-insensitive text to find in the control or purchase order number.
statusNoreceived, validated, validation_failed, processing, processed, processing_failed, queued, sent, send_failed, acknowledged, rejected or manual_review.
pageSizeNoTransactions per page (default 50, max 200).
directionNoinbound or outbound.
documentTypeNo850, 855, 856, 810, 997 or 846.
tradingPartnerIdNoOnly this trading partner's transactions (GUID).

Output Schema

NameRequiredDescriptionDefault
pageNo
totalNo
pageSizeNo
transactionsNo

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 value beyond them by disclosing sort order (newest first), paging behavior with a 200-item ceiling, and the auth requirement. It does not cover whether invalid pageSize or out-of-range pages error or clamp, which would be useful operational detail.

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?

Three sentences, front-loaded with the verb, resource, and ordering, with zero filler. The long enumeration of returned fields is mildly redundant given an output schema exists, but it is compact and supports the filtering narrative.

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 seven-parameter paged list tool with full schema coverage, an output schema, and read-only annotations, the description supplies everything needed to call it correctly, including auth and paging limits. Minor omissions (e.g., behavior at page boundaries or on out-of-range pageSize) keep it just short of complete.

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 100%, so all seven parameters are already documented, establishing a baseline of 3. The description does add meaning for documentType by expanding the bare codes into business meanings (850 purchase order, 855 acknowledgment, 856 ship notice, 810 invoice, 997 functional ack, 846 inventory advice), which the schema does not, but it adds nothing for the other six parameters beyond restating them.

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 EDI transactions, newest first') and enumerates exactly what each row contains: partner, document type, direction, status, control/PO numbers, error, linked records, timestamps. It also distinguishes itself from get_edi_transaction, which retrieves a single record.

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 clear context (browsing/paging the transaction list, filtered by partner, direction, status, document type, or a control/PO search) and routes single-record inspection to get_edi_transaction. It states a prerequisite ('Requires an operator (unpinned) credential') but offers no explicit when-not-to-use condition or exclusion from other list tools.

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