Skip to main content
Glama

Sign in

sign_in

Sign this agent in to Pomerado without a browser on this machine.

  • Call it without device_code to get verification_url and user_code. Give both to the person, who opens the link on any device, signs in and approves.

  • Then call it again with device_code every interval seconds. It returns status pending until they approve, then the API key, once.

  • Send the key as the Authorization: Bearer header of this MCP's signed-in URL (for a keyless connection, its URL without /keyless). It works on every Pomerado MCP and the REST API. On a Business team with environments, it works only in one: the environment whose MCP URL the sign-in started on, else your current key's, else production.

  • Never ask the person for a password.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_codeNoThe device_code from the call that started the sign-in. Omit it to start one.
expires_in_daysNoWhen starting: how many days the API key lasts, 1 to 90 (default 30).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and openWorldHint=false; the description goes well beyond that by disclosing the out-of-band human approval step, the one-time key return, the bearer-header usage, and the environment scoping rule. It stops short of stating token/interval expiry handling or failure modes for an abandoned device_code, which leaves a small gap for a credential-minting tool.

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?

Four bullets, front-loaded with the core purpose, each carrying procedural or security information. The third bullet packs propagation and environment-precedence rules into one long sentence, which is dense but still parses; nothing is repetitive filler.

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, yet the description covers return values (verification_url, user_code, pending status, the key), the credential's scope across MCPs and REST, and the one-time nature of the key — more than enough for an agent to complete the flow without guessing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds meaning the schema cannot: device_code is the value returned by the originating call and is polled at a defined interval, and omitting it is what starts a new sign-in rather than an error. expires_in_days is left entirely to the schema.

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 resource — signing this agent in to Pomerado via a browserless device-code flow — which is unmistakable against siblings like list_logins or call_pomerado_api. The two-phase structure (start vs. poll) is named up front.

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 an explicit ordering rule: call without device_code to start, then poll with device_code every interval seconds until status is no longer pending. It also supplies a hard exclusion — never ask the person for a password — and states that the key is returned only once, so nothing about when/how to invoke is left to inference.

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.