Skip to main content
Glama

Apumail — Email & SMS for AI Agents

get_ai_brief

Read the account's AI View brief — the assistant digest of what needs attention across the account's opted-in inboxes (unanswered mail, bills, deadlines…): a summary plus ranked items, each with severity and the mail it is about (sender, subject, date, one-line summary — no bodies). In continuous mode these are the open items of the running feed; in batch mode, the last generated report. Read-only and free: never triggers an AI run. Authenticated with an account token (acct_…) — a narrow read-only 'ai_brief' token (mint one in the dashboard under API & access) or a full one.

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": {
      "account_token": "<account_token>"
    },
    "name": "get_ai_brief"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_tokenYesAn account API token (acct_…), scope ai_brief, read or full.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it declares the operation read-only and free, states it 'never triggers an AI run', and specifies the exact return shape including that bodies are excluded. It also documents the auth requirement (acct_… token, narrow ai_brief scope or full) and where to mint it — behavioral detail well beyond typical structured fields.

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 definition is front-loaded: purpose, then payload, then mode semantics, then auth last. It is a dense single paragraph with parenthetical asides, but each clause adds real information (bodies excluded, no AI run triggered, token scope) rather than restating the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter read tool with no output schema and no annotations, the description covers everything an agent needs: what it returns, that bodies are omitted, mode-dependent behavior, side-effect profile, and authentication. Nothing material is left to inference.

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 single account_token parameter is already documented, which sets the baseline at 3. The description adds operational meaning by explaining the token's scope options and where to obtain one ('mint one in the dashboard under API & access'), which the schema alone does not convey.

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+resource ('Read the account's AI View brief') and immediately defines the artifact as an assistant digest of items needing attention across opted-in inboxes. It enumerates the concrete payload (summary plus ranked items with severity and mail metadata), so an agent knows exactly what it gets 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly frames when this applies — fetching the standing brief rather than querying mail directly — and explains that results differ by mode (open items in continuous mode, last generated report in batch mode). It stops short of naming an explicit alternative or stating a 'do not use when' condition, but the usage context is unambiguous.

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