Skip to main content
Glama

DETRAN MS Guia Flex: Licenciamentos

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

A3.8/5.0
Behavior3/5

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

The annotations indicate idempotentHint=truelerance, but no readOnly or destructive hints. The description does not mention important behavioral aspects such as whether the tool requires user interaction (browser login), whether it returns a link, or the difference between permanent and session-only tokens. It adds some context about the server's config but lacks a full disclosure of side effects or requirements, which is notable given the interactive nature.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single block with a lot of information compressed into a few sentences Drop. It is not overly long, but it mixes instructions, recommendations, and call syntax in a stream-of-consciousness style. The key info is front-loaded with the mention of MCP.AI and login, but the clarity could be improved with structured steps or bullet points.

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 the tool has one optional parameter)Skip no output schema, and annotations providing idempotency, the description covers the essential scenarios: permanent vs session login, and how to invoke. It could mention potential errors (e.g., invalid token) but it is largely complete for an interactive login tool.

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 0%, but there is only one parameter (token). The description does explain the 'token' parameter's meaning as a JWT that the user pastes, but it could provide more detail on token format, expiration, or validation. Since the schema doesn't document it, the description provides some essential meaning, but not comprehensive.

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 states that the tool is for authentication, specifically for MCP.AI in IDE agents, and explains the two modes: obtaining a login link and submitting a token for session login. It distinguishes itself from siblings like 'connect' by focusing on token-based authentication, though it doesn't explicitly mention 'connect' as an alternative.

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?

The description provides explicit guidance on when to use the tool: to log in via browser and copy the access token, and it recommends adding the token to the server's config for a permanent connection versus pasting it for a session-only login. It also tells the agent exactly how to call the tool: with { token: "<jwt>" } after the user pastes, or with no args to get the link.

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.