Skip to main content
Glama

Kivel MCP Server

email_message

Inspect one message without attachment contents. Provide read or labels to update its triage state. An empty labels array clears the labels. Updates require resources:write.

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>",
      "messageId": "<messageId>"
    },
    "name": "email_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesResource UUID.
readNo
tokenNoManagement or inspection token for anonymous resources. Omit for resources owned by your authenticated workspace.
labelsNo
messageIdYesMessage ID from the inbox.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does meaningful work: it discloses the attachment exclusion, the mutation precondition (resources:write), and the destructive edge case that an empty labels array clears labels. It does not say whether labels replace or merge with existing labels beyond the empty-array case, nor what the response looks like.

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?

Four short sentences, each carrying distinct information — scope, write path, edge case, authorization. The key scope constraint is front-loaded and nothing is repeated from the schema.

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 five-parameter, annotation-free tool with no output schema, the description covers purpose, the write path, auth requirements, and the trickiest edge case. Only the mutation merge-vs-replace semantics for non-empty labels arrays remain ambiguous.

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 60% and the description compensates by giving semantics for two of the five parameters: read/labels map to triage state, and empty labels means removal rather than no-op. It leaves the id vs messageId distinction and the token parameter entirely to the schema.

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?

Specific verb (inspect) plus resource (one message) with an explicit scope boundary: 'without attachment contents', which cleanly separates it from get_email_attachment and get_email_thread. An agent can pick this tool without opening the schema.

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?

States the two modes of use — read-only inspection, or supplying read/labels to change triage state — and the precondition 'Updates require resources:write'. It never names a sibling as the alternative for related needs (e.g. thread retrieval), so it stops short of explicit when-not guidance.

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