Skip to main content
Glama

Registradores (ARISP) Matrícula: Download de Matrícula

authenticate

Idempotent

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header Authorization: Bearer <token> for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "" } after the user pastes, or with no args to get the link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

It discloses important behavioral context beyond annotations: the difference between permanent config-based auth and session-only token auth, plus the two invocation modes. It does not detail possible side effects or error behavior, but annotations already mark it non-destructive and idempotent.

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?

The description is dense and technically informative, with no truly wasted content. However, it is written as one long run-on paragraph and mixes audience context with usage instructions, so it is not optimally structured or front-loaded.

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?

Given one optional parameter, no output schema, and only sparse annotations, the description covers the essential workflows: no-args returns a link, token enables session login, and config header enables permanent auth. It does not state the exact response format or failure modes, but it is largely complete for an authentication tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema only provides a bare 'token' string with no description, and schema coverage is 0%. The description compensates by explaining the token is a JWT, is used for session-only login, and that omitting it returns the login link, giving the agent enough semantic information to invoke the tool correctly.

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 clearly identifies the tool as handling authentication to MCP.AI for IDE agents, explaining both token-based login and link retrieval. It is more than a restatement of the name, but it does not explicitly differentiate itself from sibling tools like 'connect'.

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 concrete when-to-use guidance: add the token to server config for a permanent connection, or pass it as a session-only login, or call with no args to receive the login link. It lacks an explicit exclusion of when not to use this tool versus alternatives.

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.