Skip to main content
Glama

Kendor

Send the rejection email

send_rejection_email

Sends the rejection email to the candidate. Requires the confirm code from the rejection email preview and an attempt that is already rejected. A code stops working once its email is sent.

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": {
      "attempt": "<attempt>",
      "confirm": "<confirm>"
    },
    "name": "send_rejection_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
attemptYesAttempt id, e.g. at_…
confirmYesThe confirm code from the rejection email preview

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false; the description adds the non-obvious behavior that the confirm code is single-use ('A code stops working once its email is sent') and that the target attempt must be in a rejected state. That is genuine context beyond the structured fields and is consistent with the non-idempotent hint. It doesn't say what happens on failure or whether the send is reversible.

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, front-loaded with the action, then the prerequisites, then the single-use constraint. No filler and no repetition.

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 a two-parameter mutation with annotations and no output schema, the definition covers the action, prerequisites and the key gotcha (code expires after use). Minor omissions like failure behavior or confirmation of delivery are low-stakes here.

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 100%, so both parameters are already documented, and the description largely restates the schema's confirm text. The one addition is the state requirement on 'attempt' (must already be rejected), which enriches the schema slightly but not enough to exceed the baseline for a fully documented schema.

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 specific verb and resource ('Sends the rejection email to the candidate') and ties it to the preview flow via the confirm code, which effectively separates it from preview_rejection_email. It doesn't need to contrast with unrelated senders like send_review_link, but it also doesn't explicitly name the sibling tool, so a 4 rather than a 5.

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 precondition ('an attempt that is already rejected') and the dependency on a prior preview step, which tells the agent when this call is valid. It stops short of an explicit alternative path (e.g. 'call preview_rejection_email first to obtain the code'), so it is clear context without full 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