Skip to main content
Glama

hub_sign_in_check

Read-onlyIdempotent

Check whether a Hub sign-in device code is confirmed; returns pending or user, indicating when to retry and that the session is saved for future Hub calls.

Instructions

Whether the code from hub_sign_in was confirmed: { pending: true } (ask again after its interval; slow: wait longer), or { user } once it was, the session then kept on this computer for every Hub call.

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

Input Schema

NameRequiredDescriptionDefault
device_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.2

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description goes beyond them by disclosing both return shapes and, importantly, the downstream effect that once confirmed the session is 'kept on this computer for every Hub call'. That persistence detail is behavior an agent would not otherwise know, though there is no mention of error or expiry responses.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense sentence that front-loads the core question and embeds the outcome shapes efficiently. But the second clause is a grammatical fragment ('the session then kept on this computer for every Hub call') and the parenthetical polling hint is buried mid-sentence, making it harder to parse than its length warrants.

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

Completeness3/5

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

With no output schema, the description correctly takes on the job of describing return values ({pending: true}, {user}) and does so. It still omits failure/expiry outcomes and any definition of the polling interval, which matters for a tool whose entire purpose is a status check in an authentication loop.

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 0% for the single required parameter, so the description carries the burden; it partially does so by identifying device_code as the code produced by hub_sign_in, which tells the agent where to obtain it. It adds nothing about expected format, validity window, or reuse, leaving a real gap for a 1-param 0%-coverage 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 makes clear this checks whether the device code returned by hub_sign_in has been confirmed, and it names both possible outcomes ({pending: true} vs {user}). The verb is never stated plainly ('check', 'poll'), and the phrasing 'Whether the code ... was confirmed' is a noun clause rather than an action, but the resource and its relationship to the sibling hub_sign_in are unambiguous.

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?

It implies a polling loop ('ask again after its interval; slow: wait longer'), which is genuinely useful sequencing guidance, and it anchors the tool to hub_sign_in by calling the input 'the code from hub_sign_in'. However, the 'interval' is never defined or attributed to a source, and there is no explicit statement about when to stop polling (denial, expiry) — usage is inferable but not spelled out.

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

Deploy Server

Other Tools