Skip to main content
Glama

ai_email_triage

Read-only

Email triage — Triage an email for an inbox agent: category (action request, meeting, invoice, sales outreach, newsletter, support issue, security alert, spam/phishing...), priority (urgent/high/normal/low, auto-raised when a deadline is within 24h), intent, summary, action items with owner and due date, deadline, reply needed + suggested reply, entities, sentiment, and a phishing/fraud risk check (AI flags + offline rules for gift cards, bank-detail changes, credential requests). Optional subject= and from=. 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": {
      "text": "<text>"
    },
    "name": "ai_email_triage"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYese.g. Hi team, the Q3 invoice #4471 for $12,400 is overdue. Please pay by Friday Nov 27 or service will be paused. Thanks, Dana (Acme Billing)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: a per-call price of $0.008 USDC on Base via x402, automatic priority escalation when a deadline is within 24h, and a hybrid AI + offline rule set for phishing checks. It omits failure modes and latency, but the paid-call disclosure is the key operational fact an agent needs.

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?

The purpose and output enumeration are front-loaded, and every clause conveys a distinct extracted field or an operational fact. It is a single very long run-on sentence with parenthetical lists and an ellipsis, which makes it dense to parse, but little of it is filler.

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 no output schema, the description carries the burden of describing return values, and it does so thoroughly field by field (category set, priority scale, action items with owner/due date, phishing risk). The remaining gaps are how `text` interacts with the mentioned subject/from inputs and what happens on payment failure or unparseable input.

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 single required `text` parameter, so the baseline would be 3. But the description references 'Optional subject= and from=' parameters that do not appear in the input schema at all, which can mislead an agent into supplying undeclared fields or assuming they are validated; this is a real mismatch rather than added clarity.

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 ('Triage an email') and then enumerates the extracted fields, so an agent knows exactly what the tool produces. It distinguishes itself in substance from security_phishing_triage by listing a much broader payload plus a phishing check, but it never names or contrasts a sibling, leaving that differentiation implicit.

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?

'for an inbox agent' implies the usage context, and 'Optional subject= and from=' hints at alternate input modes. However, there is no explicit when-to-use/when-not guidance and no routing advice against overlapping siblings such as security_phishing_triage or ai_ticket_triage, which an email could plausibly match.

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