Skip to main content
Glama
stupidprogrammer4

digikala-mcp

Reconcile Account Cart Operation

reconcile_account_cart_operation

Read back an uncertain account cart operation, update its journal, and confirm state without mutating the remote cart or interrupting executing operations.

Instructions

Trusted backend: read back an uncertain account operation and update its journal.

Never mutates the remote cart or steals an executing operation. An executing record needs operator investigation; a matching current cart confirms state, not causal proof.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operation_idYes
session_tokenYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindYes
planNo
stateYes
reasonNo
resultNo
expiredNo
operation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, and the description correctly matches that by revealing the journal write, while adding genuinely new context annotations cannot express: it does not mutate the remote cart, does not steal an executing operation, and treats a matching cart as confirmation but not causal proof. That is a meaningful disclosure of scope and side effects beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded and the three sentences are dense with real information. However, the 'Trusted backend:' prefix is jargon filler that adds no decision value, and the second half reads as terse internal notes rather than agent-directed guidance.

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?

An output schema exists, so return values need not be described, and the annotations plus the description cover the safety/side-effect profile reasonably well. The remaining gap is parameter documentation at 0% schema coverage and no description of what session_token must contain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across two parameters, so the schema documents neither session_token nor operation_id beyond type/pattern. The description supplies no information about either parameter, so it fails to compensate for the coverage gap, leaving an undocumented operation_id format and auth token requirements.

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 (read back an uncertain operation, update its journal) and the resource (account cart operation), which is far more than a restatement of the name. It stops short of explicitly distinguishing itself from the sibling reconcile_cart_operation, relying on the name's 'account' qualifier to carry that differentiation.

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?

It implies the triggering condition — an 'uncertain account operation' — and gives one conditional branch ('An executing record needs operator investigation'), which is really behavioral guidance more than selection advice. It never says when to prefer this over get_account_cart_operation or reconcile_cart_operation, leaving the agent to infer the situation.

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