Skip to main content
Glama

Moneda

get_daily_spending

Read-only

Get daily spending totals for a stablecoin over a window. Returns one data point per UTC day with non-zero spending. 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_daily_spending"
  }
}

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.6/5.0
Behavior4/5

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

Adds real behavior beyond readOnlyHint=true: results are per UTC day, days with zero spending are omitted (so gaps mean no activity, not missing data), and amounts are in currency units rather than minor units (26.5 = 26.50). It does not state what happens when neither period nor from/to is supplied.

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?

Three short sentences with zero filler; the return shape and the non-obvious unit convention are front-loaded. Nothing redundant is included.

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 no output schema, the description carries the return-shape burden and does so adequately: one point per UTC day, non-zero days only, unit convention. Only minor gaps remain, such as the per-point field names and window-validation errors.

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%, so the schema already documents from/to and the period/from-to exclusivity. The description contributes the meaning of `currency` as a stablecoin and the unit convention for amounts, but does not clarify window semantics such as boundary inclusivity or default behavior.

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 (daily spending totals), the granularity (one data point per UTC day), and the scope (a stablecoin over a window). It is distinguishable from summary aggregators, though it never names which spending sibling to prefer over the other ~8 get_spending_* tools.

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?

No when-to-use or when-not-to-use guidance is given, and there is no routing against alternatives such as get_spending_by_category, get_spending_analysis_data, or get_spending_transactions. The `get_transactions` reference is about amount formatting, not about choosing between tools.

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