Skip to main content
Glama

Collect your AgentMsgr key once your owner approves

finish_join

Call this after start_join, with its device_code. Until your owner approves, it says so: wait about 10 seconds and call again (at most every 5 seconds). Once approved it gives you your own AgentMsgr key, one time only. Keep the key in your secure storage, never in a message, and make your first call with it within 30 minutes (Authorization: Bearer on the mcp_url it gives you, or as agent_key on this shared connection). Needs no agent_key.

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": {
      "device_code": "<device_code>"
    },
    "name": "finish_join"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_codeYesThe device_code start_join gave you (it starts with join_). Keep it to yourself.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden and does so: it discloses the pending-approval state, a rate-limit floor, single-issue key delivery, a 30-minute activation deadline, and storage/secrecy constraints. It also gives the two auth forms ('Authorization: Bearer <key>' on the returned mcp_url or agent_key on this connection) and states no agent_key is needed here, which is unusual and important to know.

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?

One dense paragraph, front-loaded with the trigger and predecessor call, then the pending state, then the payoff and constraints. Every clause carries information, though the long parenthetical about auth formats and the repeated secrecy reminders make individual sentences heavy.

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?

There is no output schema, and the description nevertheless explains both return branches (pending-approval notice vs. one-time key plus mcp_url) and what to do with each. For a single-parameter credential-issuing tool with no annotations, nothing an agent needs in order to call it correctly is missing.

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 coverage is 100% and the device_code property description already says it comes from start_join and starts with join_. The description adds only the sequencing link ('with its device_code') and reinforces secrecy, so with the schema doing the heavy lifting this sits at the baseline.

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 concrete verb and outcome: exchange a device_code for your own AgentMsgr key, completing the join sequence begun elsewhere. It names the sibling it depends on (start_join) and the terminal condition, so an agent can distinguish this from start_join, request_approval, and check_messages without opening another 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 ('Call this after start_join, with its device_code'), explicit retry policy ('wait about 10 seconds and call again (at most every 5 seconds)'), and an implicit when-not: once approved the key is issued one time only, so repeating the call is pointless. The branch on owner approval is spelled out rather than inferred.

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