Skip to main content
Glama

radmail-mcp

Explain a message's rank

why_surfaced
Read-onlyIdempotent

Explain why one sample-inbox message ranked where it did: the sender, urgency and promise signals behind its two scores. Pass a message_id (m_001 to m_006) from triage_inbox. Read-only.

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": {
      "message_id": "<message_id>"
    },
    "name": "why_surfaced"
  }
}

Input Schema

NameRequiredDescriptionDefault
message_idYesAn id from triage_inbox, e.g. m_001.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, closed-world and non-destructive, so the trailing 'Read-only' sentence is redundant rather than additive. What does add value is the disclosure of what the response explains — the sender, urgency and promise signals behind two scores — plus the bounded sample id range m_001 to m_006, which tells the agent this is a fixed demo dataset with no failure mode for unknown ids described.

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?

Two sentences, front-loaded with purpose, then the parameter provenance, then the safety note. Nothing is padding apart from the redundant 'Read-only', which is a single word.

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 one-parameter lookup with no output schema, the description covers purpose, input provenance and the shape of the explanation returned. It could say more about behavior for an invalid or out-of-range id, but nothing essential for correct invocation is missing.

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%, so the baseline is 3 and the schema already documents message_id as an id from triage_inbox. The description earns a bump by narrowing it to the concrete range m_001 to m_006, which prevents the agent from inventing ids from a live system.

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 opens with a specific verb and resource: explain why one message ranked where it did, naming the two scores and the signal families (sender, urgency, promise) behind them. That is enough to distinguish it from triage_inbox, which produces the ranking, and from search or list_* siblings.

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 states the entry condition clearly: pass an id obtained from triage_inbox, which ties the tool to a workflow step. It does not state when not to use it or what happens for an id outside the sample set, so it stops short of explicit exclusions.

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.