Skip to main content
Glama

Ferrite Supply

get_order_email

Read-onlyIdempotent

Read what happened to an order's confirmation email. Use it when a buyer with a paid order says that no email arrived. Returns its state, the number of attempts and the last error, or null for an order that has not been paid.

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": {
      "id": "<id>",
      "manage_token": "<manage_token>"
    },
    "name": "get_order_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesthe order id
manage_tokenYesthe manage token place_guest_order returned for this order; it can also be sent as the x-order-token header

Output Schema

NameRequiredDescriptionDefault
emailYesThe state of the confirmation email; null until the order is paid.
order_idYesThe order id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so safety and repeatability are covered. The description adds the useful behavioral detail that unpaid orders yield null and that a state/attempts/error triplet is returned, but it says nothing about token scope or what happens if the token is invalid.

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 purpose and followed immediately by the trigger condition. Every sentence carries information and none restates the title.

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 an output schema present and fully described parameters, the description only needs purpose and trigger, both of which it supplies, plus the null edge case. The remaining gap is minor: no mention of authentication failure modes for the required manage_token.

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 schema already documents id as the order id and manage_token as the value from place_guest_order, including the header alternative. The description adds no parameter-level meaning beyond that baseline.

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?

The description opens with a specific verb and resource: reading what happened to an order's confirmation email. That clearly separates a diagnostic read from an action like retry_email, though no sibling tool is named explicitly to reinforce the distinction.

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?

It gives a concrete trigger: a buyer with a paid order reports that no email arrived, and the null-for-unpaid note implicitly rules out unpaid orders. It stops short of naming retry_email as the escalation path once the failure is diagnosed.

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