Skip to main content
Glama

Income by month

get_income_by_month
Read-onlyIdempotent

Monthly income totals for a date range. Use to show income trends over time. isPartial marks a month that is still under way or only partly inside the date range; do not compare it with full months as if complete.

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

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

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: the isPartial flag marks months still under way or partly outside the range, with an explicit warning not to compare such months as complete. It stops short of describing the full return shape or ordering.

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 compact sentences, front-loaded with the purpose, then usage, then the one caveat that matters. Every sentence earns its place with no restatement of the title or schema.

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 two-optional-parameter read tool with rich annotations and no output schema, the description covers purpose, intended use, and the main interpretive caveat (isPartial). A brief note on aggregation basis or ordering would make it fully complete, but nothing essential is missing.

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 description coverage is 100%, and both parameters already document the YYYY-MM-DD format and their defaults (today, 30 days before endDate). The description adds no additional meaning about the date parameters, 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: monthly income totals for a date range, with the intended use being income trends over time. It is clear what the tool returns, but it does not explicitly distinguish itself from close siblings such as get_income_summary or get_net_by_month.

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 by 'Use to show income trends over time,' which tells the agent the appropriate context but gives no explicit when-not conditions or named alternatives. With many overlapping income/trend siblings available, a routing sentence would have materially helped.

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