Skip to main content
Glama

gisdb_set_lead_updates

Idempotent

Pause or resume updates for this saved search when the user asks. Read updates first, then use its delivery revision and a stable retry key. Pausing does not cancel renewal. Resuming requires verified paid access and source checks and cannot override a newer pause.

Input Schema

NameRequiredDescriptionDefault
actionYesExplicit requested delivery change: pause checks and delivery, or resume subject to entitlement and source checks. This never cancels subscription renewal.
workflow_idYesExact account-owned workflow_id returned by the saved-search tools.
idempotency_keyYesStable retry key for this exact request. Reuse it with identical arguments after an uncertain result; use a new key for changed arguments.
expected_revisionYesLatest delivery_revision returned by gisdb_get_lead_updates. A stale value cannot override a newer pause or resume.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations (idempotent, non-destructive, non-read-only) by disclosing that pause does not cancel renewal, that resume is gated on entitlement/source checks, and that a stale revision loses to a newer pause. Remaining gap: it doesn't say what happens to already-queued deliveries on pause or how a rejected resume surfaces to the caller.

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?

Four short sentences, front-loaded with the action, then prerequisites, then side-effect caveat and conflict rule. Every sentence carries distinct information; nothing is restated from the schema or annotations.

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 mutating, idempotent tool with an output schema and full annotation coverage, the description supplies the preconditions, ordering with the read tool, and concurrency semantics an agent needs. Minor residual gap is the failure-mode surface (what an entitlement/source-check failure returns).

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 coverage is 100%, so baseline is 3; the description adds cross-tool meaning the schema can't convey — expected_revision must come from gisdb_get_lead_updates and the idempotency key must be reused only with identical arguments. No extra detail on workflow_id, but that is already fully documented in the schema.

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 pair (pause/resume) and an exact resource (updates for this saved search/workflow), and pre-emptively separates itself from the sibling gisdb_cancel_subscription with 'Pausing does not cancel renewal.' An agent can route between this and cancel_subscription without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit trigger ('when the user asks'), explicit ordering prerequisite ('Read updates first, then use its delivery revision'), and explicit preconditions for the resume path ('verified paid access and source checks'). The negative case (cannot override a newer pause) is also spelled out.

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.