Skip to main content
Glama

Offer a resident a payment plan

offer_payment_plan
Destructive

For an owner or manager: offer a resident a way to pay in installments, without waiting to be asked — whether they are already behind or up to date and the owner wants to spread rent that is coming up. The people most likely to fall behind are the least likely to ask. It is an OFFER and binds nobody. The resident can accept it, suggest different dates, or decline; nothing is collected on the new schedule until BOTH of them have signed the agreement in Seayora. Say that back to the user rather than describing it as arranged. There is no fee on an offer and the total is exactly what is already owed. While the offer is open that rent is not collected automatically and no late charge is added. Call payment_plan_candidates first and use the lease id and charge ids it returns. Read the schedule back before sending — it goes to the resident under the account holder’s name.

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": {
      "lease_id": "<lease_id>",
      "tenant_email": "<tenant_email>",
      "charge_ids": "<charge_ids>",
      "instalment_count": "<instalment_count>",
      "first_instalment_on": "<first_instalment_on>"
    },
    "name": "offer_payment_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoA note to the resident, in the user’s own words.
lease_idYesFrom payment_plan_candidates.
frequencyNoDefaults to monthly.
charge_idsYesThe rent charges to spread, from payment_plan_candidates — overdue ones, upcoming ones, or both. Never invent one.
tenant_emailYesThe resident the offer is for, exactly as payment_plan_candidates returns it.
schedule_shapeNoHow the balance is divided. `graduated` starts small and grows, which is often the realistic shape for somebody just back at work. Defaults to even.
instalment_countYesHow many payments to spread it over.
down_payment_amountNoOptional amount up front. Leave it out unless the user asks for one — a plan exists because money is short.
first_instalment_onYesYYYY-MM-DD. The first payment date. Must be tomorrow or later.

Output Schema

NameRequiredDescriptionDefault
idNoThe created or updated record's id, when the write was applied rather than staged.
noteNoWhy the result was truncated, when it was.
stagedNoTRUE means nothing has changed yet — the write is queued in the account holder's Approvals queue in Seayora. Say it is waiting for approval; never report it as done.
draft_idNoThe staged proposal's id, when it was queued rather than performed.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: the offer binds nobody, the resident may accept, propose dates, or decline, nothing is collected until BOTH parties sign, there is no fee and the total equals what is owed, and while the offer is open rent is not auto-collected and no late charge accrues. That last point is exactly the state change implied by destructiveHint=true, so the description explains rather than contradicts the annotation. It also warns that the message goes out under the account holder's name and must be read back first.

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?

Purpose and audience are front-loaded, then prerequisites, then the behavioral caveats, then the send-time warning. The sentence about people being least likely to ask is rhetorical but carries usage justification for a proactive tool, and the following sentence immediately defuses it with "It is an OFFER and binds nobody." Little fat remains.

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 9-parameter, non-idempotent mutation with an output schema, the description covers the prerequisite chain, the side effects on collection and late charges, the dual-signature condition, and the correct way to report status back to the user. Return-value details are correctly left to the output schema.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, and the description still adds provenance semantics: lease_id and charge_ids must come from payment_plan_candidates and charge ids must never be invented. It does not add anything about schedule_shape, down_payment_amount, or frequency beyond the schema, so it stops short of a 5.

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?

States a specific verb and resource ("offer a resident a way to pay in installments") plus the caller role (owner or manager). The framing "without waiting to be asked" separates it from a resident-initiated request flow, so an agent can distinguish it from request_payment_plan without opening either schema.

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?

Gives clear usage context — proactively, whether the resident is behind or current and the owner wants to spread upcoming rent — and binds it to a prerequisite: "Call payment_plan_candidates first and use the lease id and charge ids it returns." It does not explicitly name when NOT to use it or name an alternative tool by name, which keeps it short of a 5.

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