Skip to main content
Glama

SEFAZ MG: Débitos de IPVA

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.7/5.0
Behavior4/5

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

Beyond annotations, the description discloses that the token can be stored permanently via configuration, that pasting it gives session-only access, and that no-args call returns the login link. It does not fully describe error or expiration behavior, but it adds meaningful behavioral context beyond the structured metadata.

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?

The description is compact and front-loaded, using two dense sentences with inline examples. Every sentence adds unique information about permanent configuration, session-onlyusage, or invocation shape, 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 small auth flow with one optional parameter and no output schema, the description covers invocation variants and setup context well. It lacks an explicit statement of what the tool returns on success/failure, but the core selection and invocation requirements are fully covered.

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 input schema has only a token string with no description and 0% documented coverage, so the description carries the full burden. It fully explains the token's format (JWT), that it is optional, what happens when omitted, and how to pass it after the user pastes it.

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 clearly states the tool is for authenticating to MCP.AI, with two concrete flows: log in via browser and use an access token; with no args to get the link or with a token to complete a session login. It adds real scope beyond the bare verb 'authenticate' and distinguishes the permanent config-header path from the session-only paste path.

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 usage guidance: best permanent method is adding a header to server config, session-only login is achieved by pasting a JWT, and calling with no args yields the login link. This gives an agent clear conditional paths for when to call the tool and how to structure the call.

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.