Skip to main content
Glama

Confirm a shared alert’s channel

confirm_shared_channel
Idempotent

Enter the 8-digit code the channel received. Ask the person for it; never guess. Five wrong codes need a new one.

Permission: channels:manage.

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": {
      "share_id": "<share_id>",
      "destination_id": "<destination_id>",
      "code": "<code>"
    },
    "name": "confirm_shared_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe 8-digit code.
share_idYesShare ID from list_shared_with_me.
destination_idYesdestination_id from choose_shared_channel.

Output Schema

NameRequiredDescriptionDefault
dataNo

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?

Beyond the annotations (idempotent, non-destructive, non-open-world), the description discloses a genuine consequence the annotations cannot convey: five wrong codes invalidate the code and a new one is required. It also states the required permission, channels:manage. It stops short of describing what a successful confirmation produces, but an output schema exists to cover that.

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?

Three short sentences, front-loaded with the action, followed by the sourcing rule, the failure threshold, and the permission. Nothing is redundant or padded.

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 three-required-parameter confirmation tool with full schema coverage, annotations, and an output schema, the description covers the action, the source of the secret, the retry limit, and the permission requirement. The only gap is an explicit pointer to the prerequisite step and the sibling tools that issue or replace codes.

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 the schema already explains share_id, destination_id and the 8-digit code pattern. The description adds only the provenance note that the code comes from the recipient channel, which is a small but real clarification over the schema.

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 gives a concrete verb and object: enter the 8-digit code the channel received, confirming a shared alert's channel. It is immediately actionable, though it does not explicitly contrast itself with the sibling confirm_channel or state that choose_shared_channel must precede it (that link appears only in the schema descriptions).

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?

"Ask the person for it; never guess" gives a clear operating constraint, and "Five wrong codes need a new one" signals the retry limit. However, there is no explicit when-to-use framing versus alternatives such as resend_channel_code or choose_shared_channel, so the sequencing guidance is only implied.

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