Skip to main content
Glama

ai_apology_letter

Read-only

Apology letter with sincerity checks — Draft a sincere apology letter or email from a situation, then check it offline: owns the mistake, no non-apology phrases (sorry if, sorry for any inconvenience), no blame-shifting, concrete remedy, prevention step, length and reading ease; returns a 0-100 score and issues. Params: situation (required), from, to, remedy, tone (warm|formal). Price: $0.006 USDC (Base, via x402).

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": {
      "situation": "<situation>"
    },
    "name": "ai_apology_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
situationYese.g. customer order shipped 9 days late and support did not reply for a week

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint=true, destructiveHint=false), so the bar is lower, and the description still adds genuinely new behavior: the tool returns a 0-100 score plus a list of issues, and it costs $0.006 USDC on Base via x402. That cost disclosure is material for an agent deciding whether to invoke. It does not say whether the returned draft is paid separately or whether the check is deterministic, but the important traits are disclosed.

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?

Front-loaded with purpose, then checks, then return value, then params and price — a sensible ordering with no filler sentences. It is dense rather than padded, though the parameter list is the one clause that should have been cut or reconciled with the schema.

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 no output schema, the description carries the full burden of explaining returns, and it does so (0-100 score plus issues). It also discloses pricing and the offline-check behavior an agent needs to set expectations. The remaining defect is the phantom parameter list, which makes the definition internally incomplete against its own schema.

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?

The schema defines exactly one property, situation, with 100% coverage, so the baseline would be 3. However the description advertises four additional parameters — from, to, remedy, tone (warm|formal) — none of which exist in the input schema. That is an active discrepancy that could lead an agent to emit unsupported arguments or to believe the remedy and tone checks are configurable when they are not.

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?

Names a specific artifact (apology letter/email) and a specific two-stage capability: draft from a situation, then run offline sincerity checks. The enumerated checks (owns the mistake, no non-apology phrases, no blame-shifting, concrete remedy, prevention step, length/reading ease) make it unmistakably different from the sibling letter generators such as ai_dispute_letter or ai_warning_letter.

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 description makes the use case explicit (an apology arising from a situation) and clarifies the two-step flow — draft first, then check offline — which is real guidance for sequencing a call. It stops short of stating when NOT to use it or naming a sibling alternative, so it lands at a clear-but-not-routing 4.

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