Skip to main content
Glama

Cálculo Trabalhista

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

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

It discloses persistence semantics: config header yields a permanent non-expiring connection, while a pasted token yields a session-only login. It also reveals that no-arg calls return the link. This adds meaningful behavioral context beyond the annotations' idempotent and non-destructive hints.

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 dense but every sentence carries useful information, and the recommended 'best' approach is placed early. It could be slightly more polished but is not padded.

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 login modes and the fallback no-arg behavior. It does not explain post-authentication effects on other tools, but that is reasonably implicit for an auth helper.

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?

With 0% schema description coverage, the description compensates fully by explaining the only parameter: token is a JWT, is optional, and should be passed only after the user pastes it. It even gives the exact payload shape.

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 positions the tool as an authentication mechanism for IDE agents, describing a browser login flow with access tokens. It identifies the resource ('access token', 'login link') and the action, though it does not explicitly contrast it with the sibling 'connect' tool.

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 conditional instructions: call with no args to get a link, call with { token: '<jwt>' } for session-only login, or configure a header for a permanent connection. This is a clear decision tree for invocation, even if it does not discuss when to use an alternative tool.

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

The calculo_* tools each target a distinct legal area (labor, FGTS, alimony, sentencing, INSS, etc.), and detailed descriptions clarify their boundaries. Some relationship exists among correction/index-based calculators, but the legal context makes them distinguishable. The platform tools are also separate from the domain calculators, though marketplace is broad.

Naming Consistency3/5

All 16 calculation tools follow a consistent `calculo_<area>` snake_case pattern, which is good. However, the six platform/admin tools use a different style and language (authenticate, connect, marketplace, report_bug, show_version, toolkit_info), creating a clear split between the two clusters.

Tool Count3/5

At 22 tools, the set is on the heavy end. The 16 legal calculators each earn their place for a broad Brazilian legal-calculation suite, but the additional platform and marketplace plumbing tools inflate the count and make the server feel less focused.

Completeness4/5

The tool surface covers a wide range of Brazilian legal calculation needs: labor, FGTS, criminal sentencing, prison progression, INSS benefits, alimony, divorce, banking revisions, and monetary correction. Minor gaps exist, such as dedicated overtime or additional-hours calculators, but the core workflows are well covered with no obvious dead ends.