Skip to main content
Glama

Accept offer

accept_offer
Destructive

Accept one APPROVED lender offer on an existing enquiry. Losing lenders are withdrawn. This is not a credit decision, not a DocuSign send, and not a wire.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "accept_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoEnquiry id.
lenderNoSelected lender. A string name, or an object with providerId and providerName (offer form) or id and name.
lenderIdNoWinning lender id (providerId).
confirmedNoTrue only after the user confirmed which lender to accept.
enquiryIdNo
providerIdNo
applicationIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, so the risk profile is known. The description earns credit for disclosing the actual destructive consequence, that losing lenders are withdrawn, which annotations cannot convey. It does not say whether acceptance is reversible, whether the confirmed flag gates execution, or what happens to the borrower's other pending offers, leaving meaningful behavioral gaps for a destructive action.

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?

Three short sentences with zero filler: operation and precondition first, consequence second, scope exclusions last. Every sentence carries distinct information an agent needs.

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

Completeness3/5

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

For a destructive, open-world mutation with no output schema and no required parameters, the definition leaves the agent guessing about identifier requirements, the role of confirmed, and the response. The side-effect disclosure is valuable, but the sparse parameter documentation and absence of any confirmation or error behavior keep it only adequate.

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 coverage is only 57 percent, and three parameters (enquiryId, providerId, applicationId) have no descriptions at all. The description adds nothing about parameter meaning, and with seven parameters, zero required, and overlapping id fields (id vs enquiryId, lender vs lenderId vs providerId), it should explain which identifier is authoritative and what confirmed must be set to.

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 (accept), resource (one lender offer), and its key precondition (APPROVED, on an existing enquiry), plus the resulting side effect that losing lenders are withdrawn. An agent can distinguish this from display_offer_form or track_offer_status without opening a 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?

The APPROVED precondition tells the agent when the call is valid, and the closing sentence draws explicit scope boundaries (not a credit decision, not a DocuSign send, not a wire), which prevents misrouting common adjacent actions. It stops short of naming sibling tools such as track_offer_status as the alternative for non-acceptance work, so it is clear context but not full explicit when/when-not routing.

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