Skip to main content
Glama

Decide a rental application

decide_application
Destructive

Pre-approve, accept or reject a rental application. This is a decision a real applicant will be told about — always confirm the application id and the decision with the user first.

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": {
      "application_id": "<application_id>",
      "decision": "<decision>"
    },
    "name": "decide_application"
  }
}

Input Schema

NameRequiredDescriptionDefault
decisionYes
application_idYes

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

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

Annotations already declare destructiveHint=true, readOnlyHint=false and openWorldHint=true, so the mutation risk is known structurally. The description adds genuinely new context beyond them: the outcome is communicated to a real applicant, making the call externally visible and high-stakes. It does not say whether a decision can be revised or what happens to the applicant record, which keeps it from a 5.

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?

Two sentences: the first states the action, the second front-loads the highest-risk fact (the applicant is told) before the required confirmation step. No filler and no restatement of the title.

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?

With an output schema present, return values need no explanation, and the annotations cover the safety profile. For a 2-parameter destructive tool the description supplies the essential human-confirmation safeguard, though it omits reversibility and the downstream effect on the application record.

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 0%, so the description must carry the meaning, and it does name both parameters in substance — the application id that must be verified and the three decision outcomes that match the enum values. It adds no type, format, or edge-case detail (for example, whether a rejected application can be re-decided), so it compensates usefully but not completely.

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 description names a specific resource (rental application) and the exact decision set (pre-approve, accept, reject), which maps directly onto the enum. An agent can distinguish this decisive action from the read-only application siblings such as list_application_households and list_rental_references.

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?

It gives an explicit precondition: confirm both the application id and the chosen decision with the user before calling. It does not state when this tool should be used instead of other application-related tools, nor any when-not conditions, so it stops short of full routing guidance.

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