Skip to main content
Glama

Hundo

propose_iou

Propose an IOU: money the user lent or borrowed, or a repayment of one, between one of the user's accounts and a person. Returns a proposal id; to record it, call the confirm_proposal tool with the returned proposalId after the user approves (there is no UI button or proposal card to click in this context). It moves the account's balance and what the person owes, as the IOUs page does. For an income or expense already recorded that was really an IOU, use propose_convert_to_iou instead.

MCP note: this tool only CREATES a pending proposal; nothing is recorded until confirm_proposal is called.

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": {
      "direction": "<direction>",
      "accountId": "<accountId>",
      "amount": "<amount>",
      "currency": "<currency>",
      "date": "<date>"
    },
    "name": "propose_iou"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesYYYY-MM-DD.
amountYesThe amount, in MAJOR units (12.34 for $12.34, 50000 for Rp 50,000). Never multiply by 100.
surplusNoOnly for collect or settle larger than what is owed (get_ious shows it), and only when the user said what the extra is.
currencyYesMust be the account's currency.
accountIdYesThe user's own account the money left or reached.
directionYeslend: the user gave money (they owe the user). borrow: the user got money (the user owes them). collect: the person paid the user back. settle: the user paid the person back.
descriptionNoShort. Default: 'Lent to <name>' and the like.
counterpartyIdNoThe person's id, when they exist already.
editsProposalIdNoId of a pending proposal from this same tool to replace, when the user asks to change it. Omit when proposing something new.
counterpartyNameNoThe person's name, when there is no id. A name that matches a person (letter case ignored) is that person; any other name adds a new person.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the supplied annotations, the description discloses the two-phase lifecycle (only a pending proposal is created; nothing is recorded until confirm_proposal), the return value (a proposal id), the side effect on both the account balance and what the person owes, and the replace-via-editsProposalId behavior. It is consistent with destructiveHint=false and readOnlyHint=false because the mutation is deferred to a confirmation step.

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?

The description is front-loaded with the core action and the confirmation path before the negative case. The closing "MCP note" largely restates the pending-proposal sentence already given, which is mild redundancy, but the rest is dense and purposeful.

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

Completeness5/5

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

For a 10-parameter, nested-object mutation tool with no output schema, the description supplies the return value, the follow-up call, the side effects, and the alternative tool. Nothing an agent needs in order to call and then complete this flow 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 coverage is 100%, so each parameter is already documented in the schema, including the direction enum values and the nested surplus object. The description adds only framing context (the account-to-person framing of the transaction) rather than new syntax or format guidance, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence names a specific verb (Propose) and resource (an IOU), defines the resource inline ("money the user lent or borrowed, or a repayment of one"), and scopes it to an account/person pair. It also explicitly distinguishes itself from the nearest sibling, propose_convert_to_iou.

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

Usage Guidelines5/5

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

It gives both when-to-use and when-to-use-something-else: "For an income or expense already recorded that was really an IOU, use propose_convert_to_iou instead." It also states the required follow-up workflow (confirm_proposal after user approval) and warns there is no UI card to click in this context.

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