Skip to main content
Glama
StreamPilot
by nulldk

finish_account_authorization

Destructive

Verify an official authorization and save the approved session. Use it to complete account connection after the user approves a pending authorization request.

Instructions

Check an official authorization and save the session once the user approves it.

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": {
      "authorization_id": "<authorization_id>"
    },
    "name": "finish_account_authorization"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorization_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the danger profile is flagged structurally. The description adds only that it 'saves the session', without explaining what 'check' validates, why the operation is marked destructive, whether an existing session is overwritten, or what happens when approval fails.

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?

A single well-formed sentence with no filler, and the approval precondition is placed where the reader sees it. It is compact, though the brevity contributes to the documentation gaps noted elsewhere.

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

Completeness2/5

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

An output schema exists, so return values need not be described, but this is a destructive, open-world mutation with a completely undocumented required parameter. The definition should say more about the prerequisite authorization flow and the consequences of saving the session.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has one required parameter, authorization_id, at 0% description coverage, and the description never mentions it. An agent gets no clue where the authorization id comes from, whether it is the value returned by authorize_account, or what format it takes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific resource (an official authorization) and two actions (check it, save the session), so the rough purpose is graspable. But 'check' is vague about what is being verified, and nothing distinguishes this from the sibling authorize_account, leaving the agent to guess at the completion step of the flow.

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?

The clause 'once the user approves it' does give a sequencing condition, implying this is the final step after external user consent. However, there is no explicit statement about when to prefer this over authorize_account, nor what to do if the user has not approved, so the guidance is implied rather than stated.

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