Skip to main content
Glama

Income by category

get_income_by_category
Read-onlyIdempotent

Income breakdown by category for a date range.

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_by_category"
  }
}

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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered and the description does not contradict it. The description adds only that results are aggregated per category over a date range; it says nothing about currency handling, whether uncategorized income is included, or how totals are computed.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though so terse that it is close to restating the tool name rather than adding information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a low-complexity read-only aggregation with two optional, fully documented parameters and no output schema, the description is minimally adequate. It leaves the shape of the 'breakdown' unexplained (per-category totals? percentages? sorting?) and omits any mention of comparable tools, so an agent still has open questions before calling it confidently.

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 both date parameters document their YYYY-MM-DD format and default behavior (today, and 30 days before endDate), so the schema does the heavy lifting. The description's phrase 'date range' merely echoes those parameters without adding syntax or edge-case detail, which is the baseline 3 case.

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 (breakdown of income) and resource (by category) plus scope (date range), so an agent knows it returns an aggregated income grouping rather than raw transactions. It does not distinguish itself from close siblings such as get_income_by_subcategory or get_income_by_month, leaving that differentiation to the names alone.

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?

The description gives no when-to-use guidance, no exclusions, and never names an alternative. An agent must infer from the sibling list whether to pick this over get_income_summary or get_income_by_month; the definition itself provides no routing signal.

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