Skip to main content
Glama
dnsimple-mcp
by Kinark

Finish signing in to DNSimple

dnsimple_auth_complete
Idempotent

Finish DNSimple OAuth sign-in when the browser is on a different machine by passing the full callback URL shown after approval; the CLI stores the resulting credential.

Instructions

Sign in to DNSimple with OAuth, step 2 of 2: finish the sign-in started by dnsimple_auth_login when the user's browser is on a different machine than this server. After the user approves on dnsimple.com, their browser lands on an address like http://127.0.0.1:/callback?code=…&state=… and shows a connection error, which is expected. Pass that whole address, exactly as copied from the address bar, as redirect_url. It is handed to the dnsimple CLI on this server, which completes the sign-in and stores the credential itself. The address only works for the sign-in in progress and only once.

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": {
      "redirect_url": "<redirect_url>"
    },
    "name": "dnsimple_auth_complete"
  }
}

Input Schema

NameRequiredDescriptionDefault
redirect_urlYesThe full address the browser ended on after approving, e.g. "http://127.0.0.1:51996/callback?code=abc&state=xyz".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds real behavior: the URL is handed to the local dnsimple CLI, the CLI stores the credential itself, and the address is single-use and bound to the in-progress sign-in. The 'only once' wording is in mild tension with idempotentHint=true, though a repeated call failing rather than re-authenticating means no additional side effects, so it is not a true contradiction.

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?

Front-loaded with 'step 2 of 2' and the cross-machine condition, then walks the agent through the observed browser state, the expected error, and the exact argument to supply. Five sentences, each carrying a distinct operational fact with no filler.

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 a one-parameter, non-destructive auth step with no output schema, the description covers the precondition, the input format, the single-use constraint, and where the credential ends up. It does not say what the tool returns on success (confirmation payload vs. silence), which is the only remaining burden it must bear since no output schema exists.

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 the baseline is 3. The description still adds meaning beyond the schema: the value must be the whole address exactly as copied from the address bar (including the code and state query string), not a rewritten or partial URL, and it is valid only once.

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 (finish the DNSimple OAuth sign-in) and immediately positions itself as 'step 2 of 2' relative to the named sibling dnsimple_auth_login. The scope condition — the user's browser is on a different machine than this server — distinguishes it from the plain login tool without requiring the schema.

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 trigger (after the user approves on dnsimple.com and the browser shows a connection error), names the prerequisite tool, tells the agent the error page is expected rather than a failure, and routes the agent's next action to passing the address bar contents. Little 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.