Skip to main content
Glama

Change mail reach

request_mail_tier
Destructive

Change who an app's mail may reach. tier 1 lets it mail anyone it collects addresses from (50 an hour, 200 a day): this returns an approval link mailed to the person. tier 0 goes back to the owner only and runs now. Refusals: no-mailer, suspended, already-there, already-pending.

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": {
      "serviceId": "<serviceId>",
      "tier": "<tier>"
    },
    "name": "request_mail_tier"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierYes1 = any recipient (the person approves on a mailed page), 0 = back to the owner only (runs now)
serviceIdYesthe id of a service on this account

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / serviceId / description
      Previous value: -"the service id from list_services"New value: +"the id of a service on this account"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the destructiveHint annotation by disclosing asymmetric behavior (tier 1 is pending an external approval, tier 0 applies immediately), rate limits (50/hour, 200/day), and an explicit refusal enumeration (no-mailer, suspended, already-there, already-pending). It stops short of explaining how to recover from those refusals or what the pending state transitions to, keeping it at a 4.

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 dense sentences, front-loaded with the purpose, then tier semantics, then refusal codes. No filler; every clause conveys an operational fact.

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

Completeness5/5

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

An output schema exists, so return values need no prose, and the description supplies the missing behavioral context: approval flow, timing, rate limits, and failure modes. The two required parameters are fully covered between schema and description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum description already defines both tiers, so the schema carries the load. The description still adds real meaning the schema lacks—rate-limit ceilings attached to tier 1 and the immediate-versus-pending timing distinction—pushing it above the baseline 3.

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+resource+scope: 'Change who an app's mail may reach,' which cleanly separates it from mail_status, form_mail, and set_form_recipients. An agent knows exactly what this mutates without reading 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 Guidelines4/5

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

Clearly explains what each tier does and the distinct consequence of choosing it (tier 1 = mailed approval link, tier 0 = immediate downgrade). It gives strong context for selecting the right tier, but never names a sibling tool (e.g., mail_status) as an alternative for read-only inspection, so routing across the toolset is left to inference.

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