Skip to main content
Glama
ime-mcp

ime-mcp

by sepehr071

Daily trade totals

ime_daily_totals
Read-onlyIdempotent

Retrieve day-by-day trade value and volume for a selected market over a date range, defaulting to the last 14 days and capped at 45 days.

Instructions

Day-by-day trade value and volume of one market over a date range (the site's market chart).

Dates default to the last 14 days; at most 45 days. Value is million Rial. Volume is tonnes (physical), contracts (options) or units (financial).

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

Input Schema

NameRequiredDescriptionDefault
marketNophysical, options or financial.physical
date_toNoPersian 1405/08/09 or Gregorian 2026-10-31.
date_fromNoPersian 1405/08/09 or Gregorian 2026-10-31.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.2.0
    • changedInput schema / properties / date_from / description
      Previous value: -"Persian date 1405/08/09 or Gregorian 2026-10-31 (Persian digits are fine)."New value: +"Persian 1405/08/09 or Gregorian 2026-10-31."
    • changedInput schema / properties / date_to / description
      Previous value: -"Persian date 1405/08/09 or Gregorian 2026-10-31 (Persian digits are fine)."New value: +"Persian 1405/08/09 or Gregorian 2026-10-31."
    • changedInput schema / properties / market / description
      Previous value: -"physical, options (اختیار معامله) or financial (مالی)."New value: +"physical, options or financial."
  2. 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 cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description's job is to add operational context — and it does: default 14-day window, hard 45-day maximum, and the exact units returned (million Rial for value; tonnes, contracts or units for volume). It does not mention row counts, rate limits, or how a partial/empty result is signalled.

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, front-loaded with what the tool returns and carrying no filler. Every clause — date defaults, 45-day ceiling, unit semantics — is actionable information an agent would otherwise have to guess.

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?

With three optional parameters, no output schema, and safety already handled by annotations, the description covers the essentials: what is returned per day, the unit system, and the date-range limits. It stops short of describing the shape of each daily record (e.g. field names for date/value/volume), which matters somewhat given there is no output schema.

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?

Schema coverage is 100%, so the baseline is 3; the description earns above that by explaining that volume units depend on the chosen market (tonnes for physical, contracts for options, units for financial) and by restating the date-range defaults and cap that constrain date_from/date_to. Persian-vs-Gregorian date formats are left entirely to the schema.

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 states a specific resource and granularity: day-by-day trade value and volume for one market over a date range, with the parenthetical '(the site's market chart)' anchoring it. This is clearly distinguishable from aggregate siblings like ime_market_summary or ime_trade_stats, though no sibling is named explicitly.

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?

Usage is implied rather than stated: the daily granularity and the 'market chart' framing suggest when to pick this over an aggregate summary tool, and the 14-day default / 45-day cap sets a practical boundary. There is no explicit when-to-use or when-not-to-use guidance, and no sibling is called out as an alternative.

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