Skip to main content
Glama

Income summary

get_income_summary
Read-onlyIdempotent

Total income for a date range. Returns total income amount and transaction count.

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

Input Schema

NameRequiredDescriptionDefault
endDateNoEnd date in YYYY-MM-DD format (default: today)
startDateNoStart date in YYYY-MM-DD format (default: 30 days before endDate)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds the return shape (total amount plus transaction count), which is genuinely useful since no output schema exists, but it omits questions that matter for an income aggregate — currency, whether transfers or income-split transactions are included, and how the total is computed.

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 tight sentences with the aggregate scope front-loaded and the return contents second. Nothing is redundant and nothing important is buried.

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?

For a simple, fully-annotated read-only aggregate with 100% schema coverage and no output schema, the description covers purpose and return contents adequately. The remaining gaps (currency, income definition, boundaries) are refinements rather than blockers for correct invocation.

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%, and the schema already documents both startDate and endDate including their defaults. The description only restates that a date range is accepted, adding no format, range, or inclusive/exclusive boundary semantics beyond the schema, so the baseline 3 applies.

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 verb and resource — total income over a date range — and adds what it returns. It does not, however, distinguish itself from near neighbors like get_income_by_category or get_income_by_month, so the agent must infer the difference from those tools' titles alone.

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 only implied: 'total income for a date range' suggests an ungrouped aggregate, which implicitly contrasts with the by_category/by_month breakdown tools. There is no explicit 'use this instead of X when…' guidance and no mention of when the defaults apply or when a breakdown tool would be preferable.

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