Skip to main content
Glama
stupidprogrammer4

digikala-mcp

Read Cart

read_cart
Read-only

Retrieve the connected account's cart items, seller offers, unit prices, and quantities after local login. Returns no address, phone, cookies, or payment data.

Instructions

Read the connected account's cart items, offers, unit prices and quantities.

Requires local account login. No address, phone, cookies or payment data are returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsNo
observed_atNo
total_itemsYes
items_total_rialYes
shipping_price_rialNo
has_unsupported_extrasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavioral context beyond that: the auth requirement (local account login) and a privacy guarantee that no address, phone, cookies or payment data are returned.

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

Conciseness5/5

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

Two short sentences, zero waste, with the resource and the returned fields front-loaded and the auth/privacy caveats after. Nothing could be cut without losing information.

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-value documentation is not required in the description. Combined with the annotations and the auth/privacy notes, this is nearly complete for a zero-parameter read tool; only the sibling disambiguation from read_account_cart is missing.

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

Parameters4/5

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

The tool takes zero parameters, and the schema is fully described at 100% coverage, so the baseline of 4 applies. There is no parameter semantics the description needs to compensate for.

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+resource (read the connected account's cart) and enumerates what it returns (cart items, offers, unit prices, quantities). However, it does not distinguish itself from the sibling read_account_cart, which by name sounds like the same operation, leaving a real ambiguity for the agent.

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 states a prerequisite ("Requires local account login"), which is useful context. But it gives no when-to-use/when-not guidance and never clarifies how this differs from read_account_cart or the other cart readers, so selection among siblings is left to inference.

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