Skip to main content
Glama

ai_warning_letter

Read-only

Employee warning letter + legal-risk check — Draft a fair, factual employee warning (employee, issue; optional level verbal|written|final, prior steps, manager, company, improveDays default 30) with expectations, review date (business day), proportional consequences, support offered and an acknowledgment block. Offline checks: protected-class or protected-activity topics (FMLA, pregnancy, complaints, workers comp...) that raise retaliation risk, subjective wording (attitude, lazy), missing dates or counts, final warning without prior steps, invented numbers, with LOW/MEDIUM/HIGH legal risk. Not legal advice. Price: $0.008 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": {
      "employee": "<employee>",
      "issue": "<issue>"
    },
    "name": "ai_warning_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
issueYese.g. late to 6 shifts between Oct 1 and Nov 15 2026 without notice
employeeYese.g. Sam Rivera

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), yet the description adds substantial context beyond them: deterministic offline checks with LOW/MEDIUM/HIGH risk output, the 'not legal advice' disclaimer, and a concrete price ($0.008 USDC via x402 on Base). The main omission is how the letter and risk report are returned together.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first clause, which is good, but the rest is a dense run-on that packs letter contents, checks, risk levels, disclaimer, and pricing into one block. The parenthetical parameter list is especially clunky and is the part that carries the schema mismatch.

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?

With no output schema, the description does the work of describing what the letter contains (expectations, review date, consequences, acknowledgment block) and what the risk check returns. The parameter list contradicting the actual schema leaves a real gap in whether an agent can call it correctly on the first try.

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 100% for the two real parameters (employee, issue), so the baseline would be 3. The description instead advertises optional parameters that do not exist in the input schema — 'level verbal|written|final', 'prior steps', 'manager', 'company', 'improveDays default 30' — which could lead an agent to attempt invalid arguments or expect configurability that isn't there.

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 states a specific verb and resource ('Draft a fair, factual employee warning') plus a distinct secondary function ('legal-risk check'), which separates it from the sibling letter tools like ai_dispute_letter or ai_offer_letter. An agent can tell exactly what output it gets without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the name and the enumerated risk checks (retaliation risk, subjective wording, final warning without prior steps), so an agent can infer when this is the right tool. However, there is no explicit when-to-use versus when-not guidance and no named alternative for adjacent needs such as a general disciplinary memo.

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