Skip to main content
Glama

Live: hide offer

hide_offer
Idempotent

Remove the offer banner from every viewer's screen during a live webinar, and call safely even when no offer is currently shown.

Instructions

Remove the offer banner from every viewer's screen. Safe to call when no offer is shown. Only while the webinar is live (status live); otherwise error not_live. delivered false (with warning) means it was saved but LiveKit did not take it: do not retry, that would do it twice. Max 30 live actions per 10 s per key (rate_limited).

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": {
      "webinar_id": "<webinar_id>"
    },
    "name": "hide_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNotrue: validate and show what would happen without changing anything
webinar_idYesWebinar id (UUID) from list_webinars or create_webinar
idempotency_keyNoAny unique string; retrying with the same key and arguments within 24 h returns the first answer instead of doing it twice

Output Schema

NameRequiredDescriptionDefault
dataNo
resultYes
statusNo
changesNo
dry_runNo
messageNo
error_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior2/5

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

The disclosure is otherwise rich (live-status precondition, not_live error, partial delivery semantics, 30-per-10s rate limit with rate_limited code), but 'do not retry, that would do it twice' conflicts with the idempotentHint=true annotation and with the schema's idempotency_key, which promises a retry with the same key returns the first answer. An agent cannot tell which rule governs retries, so the transparency is undermined by this internal conflict.

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 dense sentences, front-loaded with the action and scope, then the precondition, then the failure/rate-limit details. No filler wording; every clause carries operational information.

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

Completeness5/5

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

With an output schema present and only an idempotentHint annotation, the description supplies exactly the missing operational context: liveness precondition, error codes, partial-delivery behavior, and throttling. Only the retry rule is unresolved, and that is scored under behavioral transparency.

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 description coverage is 100%, so all three parameters are already documented in structured data; the description adds no syntax or constraints beyond them. The 'per key' rate limit phrasing gestures at a key concept but does not clarify which key (idempotency key vs. account key).

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 with scope: 'Remove the offer banner from every viewer's screen.' The scope phrase 'every viewer's screen' plus the live-only constraint clearly separates it from the sibling show_offer without needing to open 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?

Gives explicit when-to-use ('Only while the webinar is live'), an explicit safe case ('Safe to call when no offer is shown'), an explicit when-not with the resulting error ('otherwise error not_live'), and even retry guidance for the partial-failure case. Little is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.