Skip to main content
Glama

ddb_login

Idempotent

Sign in to D&D Beyond through a browser to save your session, enabling character tools to work afterward without a browser.

Instructions

Launch a browser and log into D&D Beyond. A Chrome window will open for you to complete login (you have up to 3 minutes) — it closes automatically once your session is saved. After that, character tools work without any browser.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.10.2

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only give the generic profile (openWorldHint=true, idempotentHint=true, not read-only), while the description adds genuinely useful behavior: a visible Chrome window, a hard 3-minute human-interaction window, automatic closing once the session is saved, and persistence for subsequent calls. It omits the failure/timeout path and whether an existing session is reused or overwritten, which matters given idempotentHint=true.

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?

Three short sentences, front-loaded with the action, then the user-facing mechanics (window, 3 minutes), then the payoff for later calls. Every sentence carries information the agent could not get from the schema or annotations.

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 parameters, no output schema, and annotations covering the safety profile, the description supplies everything needed to initiate the flow correctly, including the human-in-the-loop requirement. The main gap is what the agent should do if the login times out or is abandoned, which is relevant for a blocking interactive call.

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?

The tool takes no parameters, so there is nothing for the description to disambiguate beyond the empty schema. Baseline for a zero-parameter tool 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 states a specific verb and resource: 'Launch a browser and log into D&D Beyond.' It also clarifies the outcome ('character tools work without any browser'), which separates it from the logout/close-browser siblings without naming them. It stops short of explicitly naming an alternative, so it falls just below a 5.

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?

Usage context is clear: this is the setup step that unlocks browser-free character tools afterwards, and it tells the agent to expect a human-driven login rather than an autonomous action. It never states the inverse condition — e.g. whether to call it when a valid session already exists, or what to do if it is already authenticated.

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