Skip to main content
Glama

Dayze — Life Context

Get Finance

get_finance
Read-only

Money for a civil date range in the account timezone (max 366 days; default today): total spent and income in one display currency (the same aggregation as Dayze chat; transfers and IOU anchors left out, rows without an FX quote listed separately, never converted 1:1), plus totals by category and by currency. Optional category matches the expense category (e.g. "food"). Individual transactions are included only with the Financial details permission. ($0.05; API key required)

Input Schema

NameRequiredDescriptionDefault
atNoOptional ISO instant to read "today" at (defaults to now).
toNoLast civil day, YYYY-MM-DD, inclusive.
dateNoAlias for from (one day).
fromNoFirst civil day, YYYY-MM-DD, in the account timezone. Alone = that one day. Default: today.
categoryNoOptional expense category to total, matched case-insensitively (e.g. food, transport).
currencyNoOptional 3-letter display currency (e.g. SGD).
timezoneNoOptional IANA zone of the user's device (e.g. Asia/Singapore). Used only when the account has no zone set; the profile zone wins.

Output Schema

NameRequiredDescriptionDefault
toYes
fromYes
countYes
totalsYesspent, income and counts in one display currency; unconverted rows listed apart. complete: false means the totals stopped at the row ceiling (see coverage).
categoryNo
timezoneYes
truncatedNo
by_categoryNo
by_currencyNo
transactionsNo
transactions_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / totals / description
      Previous value: -"spent, income and counts in one display currency; unconverted rows listed apart."New value: +"spent, income and counts in one display currency; unconverted rows listed apart. complete: false means the totals stopped at the row ceiling (see coverage)."
  2. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the readOnly/non-destructive annotations, the description discloses a rich behavioral envelope: 366-day cap, default-to-today, exclusion of transfers and IOU anchors, separate listing of rows lacking an FX quote, a no-1:1-conversion rule, permission gating, and cost ($0.05; API key required). These are exactly the operational facts an agent needs and cannot get from structured fields.

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?

Effectively one dense paragraph, front-loaded with the core purpose and the aggregation detail. Every clause (date cap, FX caveat, permission, cost) carries information, though the heavy parentheticals make it slightly hard to scan.

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 an output schema present, return formatting need not be explained, and annotations cover the safety profile; the description adds the date-range, permission, and cost context on top. It is nearly complete, with the only soft spot being the absence of explicit guidance on choosing this over transaction-level siblings.

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 100%, so the schema already documents all seven parameters, establishing the baseline of 3. The description reinforces the category parameter's matching semantics ('matches the expense category') and the single-display-currency model, but adds little that the schema descriptions do not already carry.

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 resource (money/finance totals for a civil date range) and precisely enumerates what is returned: total spent and income in one display currency, plus totals by category and by currency. It implicitly distinguishes itself from per-row tools by noting it is 'the same aggregation as Dayze chat' and that individual transactions require a separate permission, though it does not name a sibling directly.

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 tool is for aggregate finance totals, and the line about individual transactions needing the Financial details permission hints at the boundary with transaction-listing siblings. There is no explicit 'use X instead when Y' guidance, so the agent must infer when this beats get_transactions or get_expenses.

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.