Skip to main content
Glama

SEFAZ MS: Certidão Negativa de Débitos

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

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

Beyond the annotations (idempotent, non-destructive), the description discloses real behavioral detail: what happens with no args, what happens when a token is pasted, and how to achieve a non-expiring connection via config. There is no contradiction with annotations.

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, front-loaded with the purpose, and every sentence conveys a distinct actionable detail (browser flow, permanent config, session token flow). Formatting with colons and inline code keeps the optional paths easy to parse.

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 one-optional-param tool with no output schema, the description covers all call variants and their outcomes (link, session token, permanent header). It does not specify the exact return payload for successful token authentication or error behavior, but the core user/agent workflow is complete.

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?

The schema only defines token as an optional string with no description (0% coverage). The description compensates by explaining that token is an optional JWT to be passed after the user pastes it, and that omitting it returns the login link. It does not provide validation constraints, but it gives enough semantics for the single parameter.

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 an authentication action for the MCP.AI server: it explains that calling with no args returns a browser login link and calling with a token completes a session-only login. It distinguishes use cases within the tool, but it does not name or contrast sibling tools such as connect, so sibling differentiation is absent.

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?

It gives explicit invocation guidance: the recommended permanent approach is to add the Authorization header to server config, while passing a pasted JWT provides session-only auth, and no arguments yields the login link. This is strong 'when/how' guidance, but there is no explicit when-not-to-use instruction or alternative-tool comparison.

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.