Skip to main content
Glama

Prefeitura MG Montes Claros: 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

A3.9/5.0
Behavior4/5

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

Annotations already indicate idempotentHint:true and readOnlyHint:false. The description adds meaningful behavioral context by explaining the difference between permanent (config-based header) and session-only (token passed per call) authentication, and mentions that calling with no args returns a link. It does not contradict the annotations and gives useful state-modifying details.

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, somewhat dense run-on sentence that mixes instructions to the user and the agent, covering multiple scenarios. It is not poorly sized but would benefit from clearer separation of ideas (e.g., bullet points or separate sentences). The flow is logical but not immediately scannable.

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 tool with one optional parameter and no output schema, the description covers both invocation modes (no args vs token), explains the two persistence options, and gives setup context. It lacks explicit error handling or return value documentation, but given the simplicity, it is fairly complete for an agent to use correctly.

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?

Despite the schema having 0% described params, the description thoroughly explains the optional 'token' parameter: it is a JWT, it is provided after the user pastes it, and omitting it triggers a different behavior (returning a login link). The description also clarifies the exact format for invocation with the token object, going far beyond the bare schema.

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 indicates the tool handles authentication for IDE agents (specifically mentioning token exchange), which differentiates it from sibling tools like 'connect' or 'marketplace'. It mentions the resource (authentication/token) and an implicit action (obtain/use token), though the verb is somewhat buried in the flow description ('log in', 'copy', 'paste'). The purpose could be stated more directly, but it's discernible.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides context on when to use the tool (for IDE agent authentication) and explains two usage flows (permanent config vs session-only), which implies when each might be preferred. However, it does not explicitly contrast with alternatives or state when NOT to use this tool, and there is no mention of prerequisites or fallback actions.

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.