Skip to main content
Glama
Ecomail MCP Server

Ecomail MCP Server

Official
by Ecomailcz

Update Transaction

update-transaction

Overwrite an existing transaction's complete order data with new details to fully revise or correct the record.

Instructions

Overwrite an existing transaction with new data. This replaces the entire order.

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": {
      "order_id": "<order_id>",
      "email": "<email>",
      "amount": "<amount>"
    },
    "name": "update-transaction"
  }
}

Input Schema

NameRequiredDescriptionDefault
taxNoTax amount
cityNoDelivery city
shopNoShop name
emailYesSubscriber's email
amountYesTotal amount
countyNoDelivery county
statusNoTransaction status
countryNoDelivery country
order_idYesOrder ID to update
shippingNoShipping amount
timestampNoUnix timestamp
transaction_itemsNoTransaction items

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations supplied, the description carries the whole burden. It does contribute one genuinely useful behavioral fact — that this is a full replacement ('replaces the entire order'), implying omitted fields are not preserved. It says nothing about permissions, error behavior for unknown order_id, reversibility, or the response.

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?

Two short sentences, front-loaded with the operation. The second sentence largely restates the first in different terms, which is mild redundancy but reinforces the destructive-replace behavior.

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 12-parameter mutation with no annotations and no output schema, the description covers the core replace semantics but leaves significant gaps: what happens to unspecified fields, whether the transaction must exist, and what is returned. It is adequate to avoid a wrong call, but not enough to predict the result.

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 12 parameters are already documented in the schema, and the description adds no per-field meaning. The replacement semantics indirectly bear on parameters (all values must be resupplied rather than patched), which is worth some credit but is not field-level guidance.

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 ('Overwrite') and resource ('an existing transaction'), and 'existing' implicitly separates it from create-transaction and delete-transaction siblings. It does not explicitly name an alternative tool, but the verb+resource pairing is unambiguous.

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?

The description gives no when-to-use guidance, no conditions for choosing this over create-transaction or delete-transaction, and no prerequisites. The only usable signal is that the transaction must already exist.

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