Skip to main content
Glama

Log in to Leafwright

leafwright_login

Start a browser login flow for Leafwright MCP. Open the returned URL, choose an organization and project, then call leafwright_auth_status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
client_nameNoOptional client name shown in Leafwright.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
next_stepYes
user_codeYes
expires_atYes
verification_urlYes

TDQS

A4.3/5.0
Behavior4/5

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

The description discloses that this tool starts an interactive browser flow and returns a URL requiring manual follow-up. Annotations already indicate a non-read-only, non-idempotent operation, and the description adds the important detail that the agent must open the URL and that user interaction is required.

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 convey the action, the returned artifact, the required user steps, and the next tool call with no filler. It is front-loaded with the core action and ends with an actionable directive.

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

Completeness5/5

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

For a login-flow starter with one optional parameter, an output schema, and clear annotations, the description covers the full workflow: what the tool does, what to do with its result, and what to call next. Nothing essential is missing.

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 100%: the only parameter, client_name, is already described as an optional string shown in Leafwright. The description adds no further parameter-specific meaning, so the baseline of 3 applies.

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?

The description states a specific action ('Start a browser login flow') tied to a clear resource ('Leafwright MCP'). It also names the follow-up tool, leafwright_auth_status, which distinguishes it from sibling tools by signaling the beginning of the auth lifecycle.

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 description gives clear sequential instructions: open the returned URL, choose an organization and project, then call leafwright_auth_status. It does not explicitly contrast this tool with leafwright_logout, but the intended workflow and next step are unambiguous.

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.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool serves a clearly distinct auth lifecycle role: starting a login, checking/completing auth status, and revoking the token. There is no overlap or ambiguity between them.

Naming Consistency4/5

All tools share the leafwright_ prefix and use simple action-oriented names. login and logout are clean verbs, while auth_status is slightly more noun-like, but the pattern is predictable and readable.

Tool Count5/5

Three tools is well-scoped for an authentication-focused server. Each tool earns its place and the count matches the domain's narrow purpose.

Completeness5/5

The tool set covers the full auth lifecycle: initiate login, check/complete status, and logout. There are no obvious dead ends or missing essential operations for managing Leafwright authentication.

Resources