Skip to main content
Glama

Stillleaf: Memorial program correction, printing and delivery

Answer a proposed remedy

answer_remedy
Idempotent

Accept or decline a remedy the business proposed on a placed order (inspect_offer thread.fulfilment.remedies with state PROPOSED). Recorded for the business, which applies it and shows the result there. Accepting a credit or refund here moves no money; the business records it when its payment processor does. A remedy of kind REVISED_TERMS revises the order's accepted terms: read its revision (the whole revised document while proposed, with sha256), and accept it only with revision_sha256 set to that hash.

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": {
      "id": "<id>",
      "token": "<token>",
      "terms_sha256": "<terms_sha256>",
      "remedy_id": "<remedy_id>",
      "answer": "<answer>",
      "name": "<name>"
    },
    "name": "answer_remedy"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe request or offer id from your receipt or customer link
nameYesName of the person making this for the buyer
noteNo
tokenYesPrivate token from your receipt or customer link; keep it for later visits
answerYes
remedy_idYes
terms_sha256YesExact terms_sha256 from inspect_offer; the act is refused if the terms have changed since
revision_sha256No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / revision_sha256
      Added value: +{
      +  "pattern": "^[0-9a-f]{64}$",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"The request or offer id from your receipt or customer link"
  3. Added

TDQS

A3.6/5.0
Behavior3/5

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

Adds real behavioral context beyond the annotations: the answer is recorded for the business, the business applies it, and accepting a credit or refund moves no money here, plus the refusal semantics on stale hashes. It stops short of saying what this call itself returns or what happens on a second answer for the same remedy, so the disclosure is good but not exhaustive for a mutation tool.

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?

Three sentences, front-loaded with the action, then consequences, then the conditional hash rule — no filler. The middle sentence ('Recorded for the business, which applies it and shows the result there') is slightly convoluted but carries the key fact that nothing happens here beyond recording.

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?

For an 8-parameter mutation with no output schema, the definition covers the money question, the recording model, and the strictest input constraint. Remaining gap is small: it never indicates the shape or meaning of the response returned to the caller.

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 50% (id, name, token, terms_sha256 documented; note, answer, remedy_id, revision_sha256 undocumented), and the description only compensates for revision_sha256, which it explains fully in the REVISED_TERMS sentence. remedy_id's relationship to the inspected PROPOSED remedy is implied but never stated explicitly.

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?

States a precise verb pair (accept/decline) plus the resource (a remedy proposed by the business on a placed order), and points at where remedies live (inspect_offer thread.fulfilment.remedies with state PROPOSED). It does not explicitly distinguish itself from the accept_offer/decline_offer siblings, so an agent must infer that those act on offers rather than remedies.

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 a concrete discovery path — inspect the offer's remedies in PROPOSED state before calling — and a hard prerequisite for the REVISED_TERMS case (read the revision, accept only with revision_sha256 matching the hash). Lacks explicit when-not-to-use guidance or a statement that this is not the tool for accepting offers.

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