Skip to main content
Glama
LamPyrid
by RadCod3

Get Income Insight

get_income_insight
Read-onlyIdempotent

Analyze income for a specified date range, returning total income or a breakdown by revenue source or receiving asset account to identify income sources and track incoming funds.

Instructions

Analyze income for a time period with optional grouping.

Get total income or break it down by revenue account (source) or asset account (receiving account).

Use cases:

  • See total income for a month

  • Identify income sources

  • Track which accounts receive the most income

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": {
      "req": "<req>"
    },
    "name": "get_income_insight"
  }
}

Input Schema

NameRequiredDescriptionDefault
reqYesRequest for income insight analysis.

Output Schema

NameRequiredDescriptionDefault
entriesYesList of income entries, grouped as requested
end_dateYesEnd of the analysis period
group_byNoThe grouping method used, if any
start_dateYesStart of the analysis period
total_incomeYesTotal income for the period (as positive number)
currency_codeYesPrimary currency code for the totals

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

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 and openWorldHint=false, so the safety profile is fully covered. The description adds only that grouping is optional and that omitting it returns totals — a useful but modest addition; nothing about result shape, limits, or empty-period behavior.

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 a one-line purpose, then the mode distinction, then scannable use cases. Slight redundancy between the first sentence and the 'See total income for a month' bullet, but nothing is padded or confusing.

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?

An output schema exists, so return structure need not be described, and annotations cover safety. The description covers purpose, grouping modes, and typical scenarios; the only real gap is any mention of sibling insight tools for non-income analysis.

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 nested request fields are each documented, so the schema carries the semantics. The description's 'by revenue account (source) or asset account (receiving account)' mirrors the schema's group_by description rather than extending it; account_ids filtering is unmentioned but fully covered by the schema.

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 ('Analyze income for a time period') and clarifies the two output modes: total or broken down by revenue_account or asset_account. This distinguishes it from expense/transfer insight siblings by resource, though it never names an alternative explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Three concrete use cases ('total income for a month', 'identify income sources', 'track which accounts receive the most income') give clear situational context. There are no exclusions or named alternatives (e.g., no pointer to get_expense_insight for the opposite direction), which keeps it below a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.