Skip to main content
Glama

update_business_emails

Mailbox housekeeping in the authenticated business mailbox, only when the user asks: mark messages read or unread, archive or unarchive. Sends nothing and deletes nothing. mark_read/mark_unread apply to received messages among the ids (sent mail has no read state). archive/unarchive move the whole conversation with each message’s other party, like the dashboard does. Every id must come from list_business_emails or get_business_email; one unknown or hidden id (MAIL_NOT_FOUND) rejects the whole call without changing anything. Takes 1–50 ids per call; any beyond 50 are returned as skipped. Returns the ids actually changed in updated (empty when they already were in that state). MAIL_UPDATE_REQUIRED means the business website needs its next update before this works.

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": {
      "ids": "<ids>",
      "action": "<action>"
    },
    "name": "update_business_emails"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes1–50 exact message ids from list_business_emails or get_business_email.
actionYesmark_read, mark_unread, archive (whole conversation) or unarchive (whole conversation).
localeNoConversation language for errors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / action / description
      Added value: +"mark_read, mark_unread, archive (whole conversation) or unarchive (whole conversation)."
    • addedInput schema / properties / ids / description
      Added value: +"1–50 exact message ids from list_business_emails or get_business_email."
    • addedInput schema / properties / locale / description
      Added value: +"Conversation language for errors."
  2. First observed

TDQS

A5/5.0
Behavior5/5

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

Goes well beyond the annotations: no sends, no deletes, archive/unarchive act on the whole conversation, one unknown or hidden id rejects the entire call atomically, calls accept 1-50 ids, and ids beyond 50 are returned as skipped. It also discloses the updated return value and the MAIL_NOT_FOUND and MAIL_UPDATE_REQUIRED error conditions.

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?

The purpose and scope are front-loaded in the first sentence, with operational constraints following in a compact sequence. The passage is dense but every sentence carries non-redundant information about limits, atomicity, return values, or errors.

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 mutation tool with no output schema, the description covers the missing pieces an agent needs: what changes, what does not change, batch limits, failure atomicity, return semantics, and prerequisite errors. There is no significant gap for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the schema already has 100% description coverage, the description adds real semantics: ids must be exact and sourced from specific list/get tools, over-limit ids are skipped rather than rejected, and a single unknown id causes an all-or-nothing failure. It also clarifies that locale controls error language and that read-state actions only affect received messages.

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 set and resource: mailbox housekeeping in the authenticated business mailbox, with exact operations mark read/unread and archive/unarchive. It also explicitly excludes sending and deleting, which separates it from sibling mail tools like send_business_email.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

Gives a clear activation condition ('only when the user asks') and a hard prerequisite that every id must come from list_business_emails or get_business_email. It also explains that mark_read/mark_unread only apply to received messages, so an agent knows when the action is inapplicable.

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