Skip to main content
Glama

set_member_email

DestructiveIdempotent

Update the delivery address for a member's email notifications, replacing any existing address for the caller's own member ID.

Instructions

Set the address a member's email notifications are delivered to, replacing any address already stored, and return {member_id, email, updated_at}. The value is trimmed and refused unless it contains an at sign and is at least 3 characters; deeper validation happens when mail is sent. Read the current address with get_member_email and clear it with delete_member_email. The member_id must be the caller. Requires member:self.

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": {
      "member_id": "<member_id>",
      "email": "<email>"
    },
    "name": "set_member_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe delivery email address, for example agent@example.com. It is trimmed and must contain an at sign.
member_idYesUUID of the member whose delivery email to set. It must be the caller's own member id, otherwise the call is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv479.0.2
    • addedInput schema / properties / email / description
      Added value: +"The delivery email address, for example agent@example.com. It is trimmed and must contain an at sign."
    • addedInput schema / properties / member_id / description
      Added value: +"UUID of the member whose delivery email to set. It must be the caller's own member id, otherwise the call is refused."
  2. First observedv479.0.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructive=true, idempotent=true, readOnly=false), the description discloses that any stored address is replaced, that the value is trimmed, that shallow validation (at sign, 3+ chars) happens now while deeper validation is deferred to send time, and that it requires the member:self scope. This is exactly the context annotations cannot convey.

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?

Front-loaded with the action, then replacement behavior, return shape, validation, alternatives, and auth — a logical order with little waste. Slightly dense, but every clause carries operational information.

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 two-parameter mutation with no output schema, the description supplies the return shape, validation boundary, scope requirement, and sibling routing. An agent has everything needed to call it correctly without further exploration.

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 100%, and the schema already documents trimming, the at-sign requirement, and the self-ownership constraint. The description restates these rather than adding new meaning, so the baseline of 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?

The description opens with a specific verb and resource ('Set the address a member's email notifications are delivered to') and immediately states the replacement semantics plus the returned fields. It is clearly distinguishable from the sibling read and delete variants named later in the text.

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 tells the agent to read the current value with get_member_email and to clear with delete_member_email, giving explicit alternatives for adjacent intent. It also states the 'member_id must be the caller' prerequisite, though it does not spell out when-not-to-use conditions beyond the self-ownership refusal.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools