Skip to main content
Glama

Sergio by Serviche

Add a data source, or stop reading one

set_platform_sender
Idempotent

Marks a sender's domain as a data source whose email Sergio reads and files, as Data Sources does: domain is the sender's domain, or one full email address to read only that mailbox (a personal Gmail forwarding lead alerts) while every other sender at its domain stays ordinary mail; action 'preview' returns the leads its recent mail would produce and writes nothing; action 'tick' (the default) adds it; action 'untick' stops reading it. purpose says what it sends: 'booking_updates' (the default) or 'leads'. This is inbound only; nothing is sent. Pass the same idempotency_key when retrying; a repeat returns the first result.

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": {
      "domain": "<domain>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_platform_sender"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNotick
domainYes
purposeNobooking_updates
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

A4.6/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: preview is explicitly non-writing despite readOnlyHint=false, untick removes the source, the operation is inbound only ('nothing is sent'), and retries with the same idempotency_key return the first result. That last point is the practically important behavior for a mutating tool and is not derivable from idempotentHint alone.

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?

Dense and front-loaded — the core action semantics come first, then purpose, then the inbound-only and idempotency notes. It is a single long semicolon-chained sentence, and the 'as Data Sources does' / 'Sergio' references are internal shorthand that costs the reader without adding actionable meaning.

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 4-parameter mutating tool with no output schema, it covers what preview returns and how retries behave. The return shape for tick/untick is only implied ('a repeat returns the first result'), leaving the success response slightly underspecified.

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?

Schema coverage is only 25% (just idempotency_key), and the description compensates fully: it defines domain as either a domain or one full email address with a concrete use case, explains all three action values including the default, and defines both purpose values including the default. Little ambiguity remains for the caller.

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 and resource: it marks a sender's domain (or a single full email address) as a data source that gets read and filed. The distinction between a whole-domain source and a single-mailbox exception is spelled out, so an agent can tell exactly what this tool registers and at what granularity.

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?

Gives clear per-action guidance: 'preview' to see what recent mail would produce without writing, 'tick' (default) to add, 'untick' to stop reading. What's missing is routing against alternatives — siblings like add_allowed_sender or delete_allowed_sender are never referenced, so the agent must infer which tool governs sender-list changes.

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