Skip to main content
Glama

Moneda

get_spending_by_merchant

Read-only

Get spending grouped by recipient/merchant. Each Moneda user gets their own bucket; off-ramps share a single bucket per type (bank-withdrawal, external-wallet, coinbase, wallet-connect). Amounts are in currency units (26.5 means 26.50), like get_transactions.

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": {
      "currency": "<currency>"
    },
    "name": "get_spending_by_merchant"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoISO 8601 UTC end of an absolute window
fromNoISO 8601 UTC start of an absolute window
periodNoRolling time window. Mutually exclusive with from/to.
currencyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With readOnlyHint=true already declaring the safety profile, the description adds genuinely non-obvious behavior: per-user bucketing, off-ramp aggregation into a single bucket per off-ramp type, and the currency-unit amount convention (26.5 = 26.50). That is real output-shape context beyond the annotations, though nothing is said about bucket key names, ordering or whether empty buckets 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.

Conciseness4/5

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

Front-loaded with the core purpose in the first clause, then supporting detail. Three dense sentences with no filler, though the off-ramp bucket enumeration is slightly listy for a description of this length.

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?

No output schema exists, so the description carries the return-shape burden and does well on bucketing semantics and unit conventions. Time-window behavior is fully covered by the schema; the remaining gap is what an individual bucket actually contains (amount only? counts? address?).

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 coverage is 75%: from/to/period are documented and their mutual exclusivity is spelled out in the schema. The description says nothing about any parameter, though 'Amounts are in currency units' implicitly clarifies what the required `currency` parameter denominates, which is the only added meaning over the bare enum.

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 and resource: 'Get spending grouped by recipient/merchant.' The grouping dimension is clear, but it never names the near-siblings (get_spending_by_contact, get_spending_by_category, get_spending_by_type_group), and 'recipient/merchant' vs 'contact' is a distinction an agent could easily get wrong without explicit routing.

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 by the grouping dimension rather than stated. There is no when-to-use/when-not guidance and no reference to the alternative spending-breakdown tools; `get_transactions` is mentioned only as a unit-convention reference, not as an alternative to prefer under some condition.

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