Skip to main content
Glama

Tribunal TRT24: Consulta Processual

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

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

Annotations already indicate readOnlyHint=false and idempotentHint=true. The description adds valuable behavioral context: it explains that using config results in a non-expiring connection while pasting a token gives a session-only login. It also describes the interaction flow (browser login, copying token). This goes beyond the annotations by clarifying the permanence and session semantics, without contradicting any annotation.

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 concise (about 80 words) and front-loaded with the target audience ('MCP.AI for IDE agents'). It efficiently structures the two authentication modes and invocation calls. A minor structure issue is that it reads as a single long sentence with multiple clauses, which slightly reduces readability, but it remains appropriately sized for the content.

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 simple tool with one optional parameter and no output schema, the description covers the essential scenarios: how to authenticate permanently via config, how to authenticate for a session via token, and how to request the login link. It does not mention error cases or what happens after a token is provided, but given the low complexity and existing annotations, it is adequately 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?

Schema has a single optional 'token' property with no description and 0% coverage, so the description must compensate. It explicitly explains the token parameter: it is a JWT to paste from the user, and when omitted, the tool returns the login link. This fully clarifies the parameter's meaning and usage, exceeding the schema's minimal information.

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's purpose: authentication for IDE agents, specifically obtaining an access token via browser login. It distinguishes itself from siblings like 'connect' by focusing on token-based authentication for MCP.AI, with explicit mention of two authentication flows (permanent config vs session token). The verb 'log in' and resource 'access token' are specific.

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 provides explicit usage guidance: it recommends adding the token to config for permanent connection, or pasting a token for session-only login. It also instructs how to invoke the tool (with token or no args to get the link). However, it does not explicitly mention when not to use this tool versus alternatives like 'connect', though the context makes it clear this is for authentication.

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.

TDQS

A3.8/5.0
Disambiguation3/5

The tools are mostly distinguishable, but `marketplace` bundles several responsibilities that overlap with `connect`, `toolkit_info`, and even `report_bug`. An agent could be unsure whether to call `connect`, `authenticate`, or `marketplace` for credential/connection issues.

Naming Consistency3/5

Names mix imperative verbs (`authenticate`, `connect`, `show_version`), noun-style commands (`marketplace`, `toolkit_info`), and a long Portuguese domain name (`tribunal_trt24_processo_consultar`). They are readable and mostly snake_case, but the conventions and vocabularies are inconsistent.

Tool Count3/5

Seven tools is a reasonable count by itself, but six of them are generic platform/admin utilities while only one is specifically about Tribunal TRT24 case consultation. The set feels padded for the named domain and only mildly well-scoped.

Completeness4/5

For a read-only 'processo consulta' service, the combination of the one TRT24 query tool plus the connection, authentication, marketplace, and payment plumbing covers the main workflow. Minor gaps remain around alternative query types or official-document details, but no major dead end is obvious.