Skip to main content
Glama

Get Inbound Message

senderkit_inbound_messages_get
Read-only

Fetch a single received inbound email message by id — envelope, headers, subject, body, attachments (as authenticated v1 API links — Bearer key with the inbound scope, not signed/presigned), and spam/auth verdicts.

Input Schema

NameRequiredDescriptionDefault
idYesInbound message publicId (e.g. "rcv_…").
contextYesExplain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization."

Output Schema

NameRequiredDescriptionDefault
ccYes
idYesInbound message id (e.g. "rcv_…").
toYes
fromYes
htmlYesHTML body, or null.
textYesPlain-text body, or null.
rawUrlYesAuthenticated v1 API URL for the raw RFC 822 source (Bearer key, inbound scope).
statusYesreceived = stored and the webhook/forward pipeline ran; dropped = arrived on a verified domain but matched no address; quota_exceeded = stored but the pipeline was skipped.
addressYesCanonical receiving address, or null for catch-all/unmatched mail.
channelYes
headersYesMail headers.
plusTagYesThe +tag segment of the addressed local part, if any.
subjectYes
envelopeYes
verdictsYesScanning verdicts (spam, virus, SPF, DKIM, DMARC) as reported.
inReplyToYesThe In-Reply-To header, if any.
messageIdYesThe mail's Message-ID header.
sizeBytesYesSize of the raw message in bytes.
truncatedYesWhether the stored body was truncated.
receivedAtYesWhen the message was received.
attachmentsYes
strippedReplyYesThe plain-text reply with quoted history and signature stripped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly=true, destructive=false, openWorld=false, so the description is freed from the safety profile. It then adds genuinely non-obvious context: attachments are returned as authenticated v1 API links requiring a Bearer key with the inbound scope, and explicitly are not signed/presigned URLs. That access-model detail is a real behavioral trait an agent could not infer from annotations or schema.

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?

A single sentence, front-loaded with purpose and then the returned fields, with no filler. It is dense with parentheticals, but every clause carries information rather than repeating 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?

For a two-param read tool with an output schema and read-only annotations, the definition is essentially complete; the agent knows what it gets back and how attachment links are authorized. It could be strengthened by noting the list-tool alternative for lookup-by-criteria, but nothing needed to call it correctly is missing.

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 description coverage is 100%, so the 'id' publicId format and the 'context' intent-tracking contract are fully documented in the schema. The description's 'by id' merely restates the schema's required identifier without adding syntax or constraints. 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?

States a specific verb ('Fetch') and resource ('a single received inbound email message by id') and enumerates the returned payload. An agent can distinguish it from senderkit_inbound_messages_list (plural/list) and senderkit_messages_get on the 'inbound' qualifier without opening any schema.

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?

The 'by id' framing and 'single' contrast with the sibling list tool for the same resource, so usage is implied. However, no explicit when-to-use/when-not guidance or named alternative is provided, so an agent must infer the routing itself.

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.