Skip to main content
Glama

Check whether an email was sent

get_email_approval
Read-onlyIdempotent

Where an email stands that send_claim_notice, request_supplier_document, request_supplier_documents or request_document_correction created for the user to approve: pending (waiting for them to click Send in Trackberry), sent, cancelled, failed or expired (24 hours pass without a click), with the email as stored and, once sent, what it made in result. Use it to tell the user whether the email went out, after they say they approved it or when they ask. It only reads, and it cannot approve anything: only the user can, on the page at approval_url. Only the person who asked, or an admin, can read it.

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": {
      "email_approval_id": "<email_approval_id>"
    },
    "name": "get_email_approval"
  }
}

Input Schema

NameRequiredDescriptionDefault
email_approval_idYesAn email approval id such as "eap_14", as returned by the tool that created the email.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description adds real context beyond them: the 24-hour expiry-to-`expired` rule, the meaning of each status, that the stored email and post-send `result` are returned, and an access restriction ('only the person who asked, or an admin, can read it'). That authorization constraint is not derivable from the annotations.

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?

It is dense but nearly every clause carries information (states, expiry, return payload, access rule, approval boundary). The opening clause 'Where an email stands that ... created' is slightly convoluted and could be front-loaded more cleanly, which keeps it off a 5.

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?

There is no output schema, yet the description covers what a caller gets back (status, stored email, and `result` once sent) and the auth scoping needed to call it. For a one-parameter read tool this leaves nothing an agent needs unresolved.

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% and the single parameter's description already explains the `eap_14`-style id comes from the creating tool. The description reinforces that the id refers to an email created by the named request tools but adds no format or lookup detail beyond the schema, so the baseline 3 applies.

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 names the specific resource (an email approval created by send_claim_notice, request_supplier_document(s) or request_document_correction) and the specific operation (reporting where it stands), then enumerates all five possible states. An agent can immediately tell this is a status-read tool rather than one of the email-creation siblings.

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

Usage Guidelines5/5

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

It states exactly when to call it — 'after they say they approved it or when they ask' — and explicitly rules out the adjacent action by noting it 'cannot approve anything: only the user can, on the page at approval_url.' That gives both the trigger and the boundary against a would-be approval tool.

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