Skip to main content
Glama

Approve CLI login

approve_login

Approves a pending Drawcall CLI login, identified by the user_code that drawcall auth login printed, as the connected account. This grants that CLI a full account session; the CLI finishes signing in with drawcall auth complete.

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": {
      "user_code": "<user_code>"
    },
    "name": "approve_login"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_codeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare hints (readOnlyHint=false, destructiveHint=false, idempotentHint=false); the description supplies the high-value fact annotations cannot: this grants a CLI a full account session, a real security consequence. It also situates the call in a two-step flow. It stops short of stating what happens on an invalid or expired code, or whether approval is single-use.

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?

Two sentences, zero padding, with the core action front-loaded and the supporting workflow detail trailing. Every clause earns its place.

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

Completeness4/5

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

With no output schema and 0% parameter description coverage, the description covers the essentials: what is approved, by what key, under what identity, and what the CLI does next. Minor gaps remain around failure modes and code lifetime, but nothing an agent needs to invoke it correctly is missing.

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 0%, so the description carries the burden for the single parameter, and it does: user_code is the value printed by `drawcall auth login` and it identifies the pending login. That is a meaningful addition over the schema's bare string with min/max length.

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 ("Approves a pending Drawcall CLI login") plus the identifying key (user_code) and the acting identity ("the connected account"). The agent can tell exactly what this does without opening the schema; the sibling tools (read_skills/search_skills) are unrelated, so no differentiation is needed.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a clear condition for use: a pending CLI login whose code was printed by `drawcall auth login`. It also names the follow-up step (`drawcall auth complete`), which bounds when this tool is appropriate. No explicit exclusion of misuse cases (expired/unknown codes), which keeps it shy of a 5.

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