Skip to main content
Glama
AdvancedExpenseTracker

AdvancedExpenseTracker

add_income

Record salary, freelance, and other income with date, amount, source, and optional note so you can track earnings and analyze cashflow.

Instructions

Log income (salary, freelance, etc).

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": {
      "date": "<date>",
      "amount": "<amount>",
      "source": "<source>"
    },
    "name": "add_income"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
noteNo
amountYes
sourceYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a record-creation mutation but says nothing about permissions, duplicate handling, validation of negative or zero amounts, or whether the logged income affects downstream budget/cashflow reports.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of waste, so structure is fine. The brevity is under-specification rather than discipline, given four undocumented parameters and no annotations.

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

Completeness2/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 values need not be described, but for a mutation with zero annotation coverage and 0% schema description coverage the definition is far too thin. An agent cannot tell required field formats or the effect on existing budget data from this text.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for four parameters, so the description must compensate and largely does not: date, amount, and note get no explanation of format, currency, units, or purpose. Only 'source' receives indirect clarification via the salary/freelance examples.

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?

'Log income' is a specific verb+resource, and the parenthetical '(salary, freelance, etc)' clarifies what counts as income, which separates it from the expense-oriented siblings like add_expense. It stops short of explicitly stating the income-vs-expense boundary, so it is clear but not fully differentiated.

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?

There is no when-to-use, when-not-to-use, or alternative-routing guidance. The parenthetical examples hint at what qualifies as income, but an agent gets no instruction on choosing this over add_expense or add_recurring_expense for a repeated paycheck.

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