Skip to main content
Glama

set_email_starred

Set whether an email is starred. Returns a queued operation immediately; this is not confirmation of provider completion. Poll get_mail_action with the returned operationId. Never retry an uncertain send with a new operationId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
isStarredYes
messageIdYes
operationIdNoHigh-entropy stable idempotency key, such as a UUID. Reuse the same value only when retrying that exact send.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Adds substantial behavioral context beyond the annotations: it discloses that the call returns a queued operation immediately, that this is not provider-completion confirmation, the required polling step, and the retry rule for the operationId. These are real operational traits not covered by readOnlyHint/idempotentHint/destructiveHint.

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?

Three tight sentences, front-loaded with purpose then async contract, with no filler. Each sentence carries actionable information. Minor miscue: 'uncertain send' is odd wording for a star operation, but it does not waste space.

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?

With no output schema, the description carries the async-return burden well by explaining the queued operation and pointing to get_mail_action with the returned operationId. It omits any guidance on the required accountId/messageId, so it is not fully complete for a 4-parameter tool.

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 coverage is only 25% – only operationId is documented in the schema. The description adds practical meaning for operationId (retry semantics) and implicitly covers isStarred via 'email is starred', but leaves accountId and messageId unexplained. Partial compensation for a low-coverage schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a precise verb and resource ('Set whether an email is starred'), which is clearly distinct from siblings like mark_email_read or archive_email. It does not explicitly name a sibling, but the purpose is unambiguous without needing to open a 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 description describes the post-invocation workflow (poll get_mail_action, don't retry with a new operationId) but never states when to choose this tool over an alternative or any preconditions. Usage is implied by the async workflow rather than explicitly framed.

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