Skip to main content
Glama

Arclan MCP Registry

complete_sign_in

Finish the GitHub sign-in started by sign_in and return a new Arclan API key. Pass the device_code from sign_in. If the user has not authorized in the browser yet, this returns status "pending" — wait poll_interval_seconds and call again. The api_key is shown ONCE; store it and send it as "Authorization: Bearer ".

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": "complete_sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_codeYesThe device_code returned by sign_in

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the pending/non-terminal state, the polling cadence, and the critical one-time secret exposure ("The api_key is shown ONCE"). It also specifies how the returned key must be used downstream ("Authorization: Bearer <key>"), which an agent could not infer from the schema.

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 short sentences, front-loaded with the outcome, then the input, then the failure/retry path, then the secret-handling warning. Nothing is redundant or padded.

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?

No output schema exists, so the description must explain return values — and it does, naming both the pending status and the api_key along with its one-time visibility. For a one-parameter polling tool this covers everything needed to call it correctly.

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 single device_code parameter is already described there, so the baseline is 3. The description's "Pass the device_code from sign_in" largely restates the schema and adds no format or validation detail beyond it.

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 outcome ("Finish the GitHub sign-in... and return a new Arclan API key") and explicitly ties itself to the sibling that precedes it (sign_in), so an agent can distinguish the two without opening 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 sequencing (must follow sign_in), the precondition (user must authorize in the browser), and the exact retry rule: on status "pending", wait poll_interval_seconds and call again. There is no meaningful ambiguity about when to invoke or re-invoke.

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