Skip to main content
Glama

Add loan

add_loan

A loan you took (borrowed) or money you lent. EMI loans need term_months (the EMI is computed if omitted); pay-as-you-go loans don't.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emiNoOverride the computed instalment with the bank's figure
kindNo
nameYes
noteNo
currencyYes
scheduleNoDefault: emi when term_months is given, else flexible
directionYes
principalYes
start_dateNo
payment_dayNoDefault 1
term_monthsNo
counterpartyNoLender or borrower
linked_account_idNoWhere repayments go from / arrive in
annual_rate_percentNoDefault 0

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

The description adds a meaningful behavioral detail: EMI is computed if term_months is omitted, and pay-as-you-go loans do not need term_months. It does not contradict the annotations, which only carry generic flags. However, it does not explain default schedule resolution, what happens on missing required fields, or any mutation consequences beyond what the name implies.

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 short and front-loaded, with no filler. The two sentences carry distinct and useful information. It loses a point because the opening sentence reads more like a definition of a loan than an instruction for the add action, which slightly reduces its directness.

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?

For a 14-parameter creation tool, this description is materially incomplete. It does not state the action, required inputs, the exact schedule semantics, or how the EMI defaults interact with the required fields. The output schema exists but does not compensate for the missing invocation-level guidance.

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 only 43%, so the description must compensate for many undocumented parameters. It sheds light on term_months and EMI, but it leaves required fields like name, direction, principal, and currency mostly unexplained, and it introduces a 'pay-as-you-go' phrase that only loosely maps to the schema's 'flexible' enum. This is partial compensation for a low-coverage 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?

The description identifies the resource as a loan and makes the borrowed-vs-lent direction central, which is the key semantic of the tool. It does not explicitly say 'adds/create a loan', but the tool name and title supply the action, so an agent can infer the purpose. It is clearly distinguished from update/delete tools by the add_* prefix.

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 guidance on when to use add_loan versus sibling tools like update_loan or record_loan_payment. The description gives a useful rule about EMI vs pay-as-you-go loans, but that is input configuration guidance, not tool-selection guidance. No alternatives or exclusions are mentioned.

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.