Skip to main content
Glama

get_approval_channel

Read-only

Get an approval channel by ID. Returns the config including channels, timeout, and status.

ACCESS: needs a Proof account. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login does NOT open this tool.

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": {
      "id": "<id>"
    },
    "name": "get_approval_channel"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesApproval channel ID

Output Schema

NameRequiredDescriptionDefault
idYesMongoDB ObjectId
nameNo
statusYesStatus of a HITL configuration
keypairYesEncryption keypair metadata (null if not configured)
user_idYesOwner user ID (useful for SDK encryption AAD)
channelsYes
circle_idNoBacking Circle for a circle-backed Approvals config (null for channel-list configs)
created_atYes
profile_idNo
updated_atYes
environmentYes
timeout_secondsYes

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?

readOnlyHint=true already declares the safety profile, and the description adds real value on top: it discloses the auth prerequisite (Proof account, client authentication flow) and warns that start_login does not unlock this tool. It also sketches the response contents (channels, timeout, status) even though a full output schema exists.

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?

The core action is front-loaded in the first sentence and the auth caveat is separated into its own paragraph. Slightly redundant phrasing ("Authenticate this client ... then call this tool again") costs little but is not maximally tight.

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 single-parameter read tool with annotations and an output schema, the definition covers the important non-obvious risk: that an unauthenticated call will fail and that start_login will not fix it. Missing only minor details such as behavior on an unknown/invalid ID.

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?

Only one parameter, and the schema already describes it at 100% coverage as "Approval channel ID". The description's "by ID" adds no format, sourcing, or lookup hints (e.g., where to obtain the ID), so this is baseline territory.

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?

"Get an approval channel by ID" states a specific verb and resource and the "by ID" scoping distinguishes it from the listing sibling. It does not explicitly name or differentiate against list_approval_channels or get_approval_channel_keys, so it stops short of full sibling disambiguation.

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 by the ID-based lookup rather than stated as guidance; there is no explicit when-to-use vs when-to-use-alternatives instruction. The access paragraph does tell the agent what to do if the call fails auth and explicitly rules out start_login as a remedy, which is genuinely useful routing guidance.

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.