Skip to main content
Glama

Sergio by Serviche

Add a platform's email rules

add_platform_email_preset
Idempotent

Adds the preset rules that let Sergio read a booking platform's or form relay's notices, as the rule editor's Add rules for a platform does: platform is one the picker lists. Only the rules this business does not already have are inserted, so a repeat adds nothing. 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": {
      "platform": "<platform>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "add_platform_email_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYes
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.7/5.0
Behavior4/5

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

The annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the safety profile is covered. The description adds real value beyond that by explaining how idempotency manifests: only rules the business lacks are inserted, a repeat inserts nothing, and a retried call returns the first result. It does not say whether inserted rules take effect immediately or what permissions are needed, so it is not fully complete.

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?

Three compact sentences, front-loaded with the action, then the dedupe behavior, then the retry contract. Every sentence carries information; the reference to the rule editor's UI action is slightly indirect for an API caller but clarifies intent rather than wasting 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?

For a two-parameter mutation with no output schema, the description covers the side-effect semantics, dedupe behavior, retry contract, and where valid platform values come from. The main remaining gap is that valid platform identifiers are never made concrete and the effect of added rules is not described. A moderately complete definition with one actionable hole.

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 50%: idempotency_key is documented in the schema, and the description's retry instructions largely restate it. The undocumented 'platform' parameter gets only 'one the picker lists', which gives an agent no concrete value format or enumeration, and there is no enum in the schema. That is marginally better than nothing but does not compensate for the coverage gap.

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?

The description states a specific verb and resource: it adds preset email rules that let Sergio read a booking platform's or form relay's notices, tied to the 'Add rules for a platform' action in the rule editor. That is clearly distinct from single-rule operations like update_platform_email_rule or delete_platform_email_rule. It stops short of naming those siblings explicitly, which keeps it from a 5.

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 rather than stated: the platform must be 'one the picker lists', and a repeat call is safe because only missing rules are inserted. There is no explicit when-to-use guidance versus adding individual rules, and no statement of what to do if the platform is not in the picker. The context is sufficient to call it correctly but leaves alternatives to inference.

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