Skip to main content
Glama

Sergio by Serviche

Trust a sender for email sync

add_allowed_sender
Idempotent

Adds an email address or a whole domain to the trusted senders the business accepts email from, as Settings > Connections does: email_pattern is an address (name@domain.com) or a wildcard (*@domain.com), notes is optional. This filters inbound email; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the same entry.

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": {
      "email_pattern": "<email_pattern>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "add_allowed_sender"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNo
email_patternYes
idempotency_keyYesYour id for this operation (8-128 of A-Z a-z 0-9 . _ : -). Reuse it on every retry of the same operation; use a new one for a new operation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior, so the description adds real value on top: it clarifies that no outbound email is sent and that retries with the same idempotency_key return the same entry. It does not state permission requirements or what happens on conflict, which keeps it from a 5.

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?

A single dense sentence front-loads the action and scope, then uses a colon to enumerate parameter formats and closes with the side-effect and idempotency caveats. No filler or repeated information.

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 three-parameter mutation with no output schema, the description covers input formats, lack of outbound side effects, and retry semantics. Missing pieces are minor: no mention of validation limits (maxLength 200/2000) or what the returned entry contains.

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 description coverage is only 33% (only idempotency_key is documented), so the description must compensate — and it does: it defines email_pattern's accepted formats (name@domain.com or *@domain.com) and notes' optionality. The notes parameter's purpose and content expectations remain only thinly described.

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 specific verb ('Adds') and resource ('trusted senders the business accepts email from'), plus the two accepted input forms (address or wildcard domain). The clarification 'This filters inbound email; nothing is sent' distinguishes it from send-oriented siblings like send_email, though it never names a specific alternative.

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?

Usage is implied by the framing ('as Settings > Connections does') and the inbound-filtering scope, so an agent can infer when the tool applies. However, there is no explicit when-not guidance and no reference to the obvious counterpart delete_allowed_sender for removing an entry.

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