Skip to main content
Glama

Dashboard authentication

rbook_auth
Destructive

Authenticate to Reasonbook, approve browser login, and manage project keys by rotating, revoking, listing, or reissuing them; logout clears stored credentials.

Instructions

Dashboard sign-in: show login_init URL/code for browser approval; poll login_complete. logout signs out. Project keys: rotate/revoke/list/reissue. login, login_complete, rotate and reissue store credentials; logout and revoke remove them.

Input Schema

NameRequiredDescriptionDefault
keyIdNorevoke: defaults to project key. logout: user key; required if several
actionYes
mineOnlyNolist: default true
deviceCodeNoFrom login_init
projectRootNoFolder/rbook:// address; inferred
graceSecondsNorotate: old key lives on
maxWaitSecondsNologin_complete: default 30s; pending means retry same code
pollIntervalSecondsNoDefault 2s; pass the device code's interval

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv4.7.2
    • addedInput schema / properties / graceSeconds / description
      Added value: +"rotate: old key lives on"
    • addedInput schema / properties / mineOnly / description
      Added value: +"list: default true"
  2. Changed1 schema field changedv4.7.1
    • changedInput schema / properties / projectRoot / description
      Previous value: -"Folder or rbook:// address; inferred"New value: +"Folder/rbook:// address; inferred"
  3. First observedv4.7.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false tool-wide, but the description adds per-action granularity the annotations cannot: login, login_complete, rotate and reissue store credentials while logout and revoke remove them. That tells an agent which actions are irreversible without inspecting the schema. It does not mention permission requirements or where credentials are persisted, so not a 5.

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?

Dense and front-loaded: sign-in flow first, then sign-out, then project keys, then the persistence rule. The telegraphic style fits an 8-action tool, but "logout signs out" is near-tautological and the persistence sentence repeats the action names already listed, costing a small amount of space.

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?

For an 8-parameter, multi-action tool with no output schema, the description covers the action set, the login polling workflow, and which actions mutate credentials — enough to call it correctly. Return values are only partially covered (login_init's URL/code is stated, list's output is not), which keeps it short of complete.

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 88%, and the per-parameter notes (graceSeconds "old key lives on", maxWaitSeconds "pending means retry same code", keyId defaults per action) already carry the semantics. The description adds no parameter-level detail beyond "poll login_complete", so the baseline 3 for high-coverage schemas applies.

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 maps the tool's purpose (dashboard auth + project-key management) onto concrete action names: login_init/login_complete for sign-in, logout for sign-out, and rotate/revoke/list/reissue for project keys. It is clearly distinct from every sibling (rbook_project, rbook_session, etc.), which cover unrelated resources. It falls short of 5 because the key actions are listed without stating what rotate vs reissue actually do, leaving a little ambiguity inside the action set.

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?

"show login_init URL/code for browser approval; poll login_complete" conveys the required two-step sequencing, and "logout signs out" gives the context for the sign-out action. There is no explicit when-not or alternative-tool routing, but no sibling overlaps this domain, so the omission is minor.

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