Skip to main content
Glama
kafen-mcp

kafen-mcp

by ChrAlpha

Log in to the forum

login
Idempotent

Starts browser-based authorization to issue a read-only API key for accessing a login-protected forum, returning an approval link and confirmation code.

Instructions

Start a browser-based authorization that issues a read-only API key for this server. Returns an approval link and confirmation code that the user must open while logged in to the forum. Reuses an in-flight request; does nothing if a working key is already present.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses the human-in-the-loop nature (user must open an approval link and confirm a code), the return payload (approval link plus confirmation code), in-flight request reuse, and the no-op case when a key exists — the latter reinforcing idempotentHint=true. It does not say how long the link/code stays valid or what the key's lifetime is, which matters for a credential-issuing operation.

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 tight sentences, each earning its place: capability first, then the user prerequisite and return value, then the reuse/no-op behavior. No redundant restatement of the title 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 input parameters, no output schema, and full annotation coverage, the definition covers what the tool does and what comes back. The remaining gap is the follow-through story — how the agent should surface the link and how to check whether authorization completed — which is left to the agent to infer from the auth_status sibling.

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?

Zero parameters, so there is no schema semantics to add and nothing can be misdescribed; baseline applies. The description correctly implies a no-argument call.

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?

States a specific action and outcome: 'Start a browser-based authorization that issues a read-only API key for this server.' An agent can immediately tell this is the login/authorization entry point rather than a data read or status check. It stops short of explicitly naming the sibling (auth_status) as the alternative, so differentiation is implied by behavior rather than stated.

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?

'The user must open while logged in to the forum' gives a clear precondition, and 'does nothing if a working key is already present' is an explicit when-not-to-expect-action condition. What's missing is what to do after calling (e.g., poll auth_status, prompt the user), so the guidance stops at the invocation boundary.

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