Skip to main content
Glama

ohmyho.st

Set project sender binding

mail_binding_set
DestructiveIdempotent

Attach a verified workspace sender or update its project settings. Requires current permission to edit the target project and use the sender. The verified application and sender must share the registrable main domain. Set exact From addresses; no per-prefix DNS is needed. Reply-To may name an external existing mailbox and a per-message value overrides the default. Attaching changes no sender DNS and grants no receiving access.

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": {
      "project_id": "<project_id>",
      "environment_id": "<environment_id>",
      "mail_domain_id": "<mail_domain_id>",
      "sending": "<sending>",
      "sender_addresses": "<sender_addresses>",
      "default_from": "<default_from>",
      "default_reply_to": "<default_reply_to>",
      "expected_revision": "<expected_revision>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "mail_binding_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
sendingYes
project_idYes
default_fromYes
environment_idYes
mail_domain_idYes
idempotency_keyYes
default_reply_toYes
sender_addressesYes
expected_revisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, destructive, idempotent operation; the description goes beyond them by disclosing the domain-matching precondition, that no per-prefix DNS work is needed, and the reassurance that attaching changes no sender DNS and grants no receiving access. It omits what happens to a pre-existing binding (replacement semantics) and the concurrency role of expected_revision.

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?

Front-loaded with purpose, then prerequisites, then constraints, then side effects; each sentence contributes new information with no filler. Density is high but appropriate for a nine-parameter destructive mutation.

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 destructive binding tool with no output schema and no schema parameter documentation, the description covers preconditions, contracts, and side effects well. The remaining gap is parameter-level meaning for the concurrency and idempotency fields, which an agent must guess at before calling.

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

Parameters2/5

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

Schema description coverage is 0% across nine required parameters, so the description carries the whole burden. It adds meaning for default_from (exact From addresses), default_reply_to (external mailbox allowed, per-message override), and sender_addresses, but leaves sending, expected_revision, idempotency_key, and the three ID fields entirely uninterpreted in both schema and prose.

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?

Opens with a specific verb and resource: "Attach a verified workspace sender or update its project settings," which tells an agent exactly what state change it produces. It does not name a sibling (e.g., mail_binding_detach or mail_domain_set), so differentiation must be inferred from names alone.

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?

Prerequisites are stated clearly ("Requires current permission to edit the target project and use the sender" plus the shared-domain rule), which is real when-to-use context. However, there is no explicit routing versus alternatives such as detach or get, and no statement of when not to call it.

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.