Skip to main content
Glama

Sergio by Serviche

Re-arm Gmail real-time notifications

rearm_gmail_watch
Idempotent

Re-registers the Gmail push watch as the Gmail card's Re-arm does, so new email reaches Sergio in real time again, and stores the new expiry and history baseline. Safe to call repeatedly; nothing is sent to clients. Pass the same idempotency_key when retrying. An owner-level change: Sergio tells the owner after it is made.

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

Input Schema

NameRequiredDescriptionDefault
reasonNoWhy you are doing this, in one sentence. The owner sees it in the notice Sergio sends after the change.
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.8/5.0
Behavior4/5

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

Annotations already flag idempotent and non-destructive, so the bar is lower; the description still adds real behavior: it persists a new expiry and history baseline, has no client-visible side effects, and notifies the owner. That state-change disclosure is exactly what an agent needs before invoking a mutating tool.

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 core action and its effect, then safety and retry guidance. Every sentence carries information, though the idempotency retry line partially duplicates the schema description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description covers what changes (expiry, history baseline) and what does not happen (nothing sent to clients). It omits what the call returns or how failures surface (e.g., auth or scope errors), leaving a modest gap for a mutating tool.

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%, so both parameters are already documented in the schema, including the idempotency_key reuse rule and the reason field's audience. The description's instruction to pass the same key on retry reinforces but does not exceed the schema, so baseline 3 applies.

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 concrete verb and resource: re-registers the Gmail push watch, restoring real-time email delivery, and stores the new expiry and history baseline. An agent can tell this is not disconnect_gmail or a send tool. It lacks an explicit contrast to a sibling, but the action is unmistakable.

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 operational conditions: safe to call repeatedly, nothing is sent to clients, and reuse the same idempotency_key when retrying. It does not spell out the trigger condition (e.g., when the watch has lapsed or expired), which the agent must infer.

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