Skip to main content
Glama

grid402_pass_balance

Check a Session Pass credit balance, expiry date and spend controls in real time to track daily limits, credits used and allowed endpoints before making paid API calls.

Instructions

Consulta gratuita em tempo real do saldo de créditos, validade e Spend Controls (daily_credit_limit, credits_used_today, allowed_endpoints) de um Session Pass.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "grid402_pass_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenNoToken pass_g402_... a consultar (ou utiliza GRID402_SESSION_PASS do ambiente).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.1

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the call is free and real-time, and that the response includes validity and spend-control fields, which implies a read-only operation. It does not state what happens with an expired, invalid, or missing token, nor any rate limits or auth requirements beyond the token itself.

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?

A single front-loaded sentence with no filler; the purpose arrives first and the field enumeration is parenthetical so it does not obstruct scanning. Slightly dense, but every clause (free, real-time, which controls) contributes information.

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?

There is no output schema, and the description compensates by naming the returned fields and the validity/spend-control concepts, which is the key missing piece for a balance tool. For a one-optional-parameter read tool, the remaining gap is error/empty-token behavior, which is minor but real given the absent token default.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% for the single optional 'token' parameter, including the pass_g402_ prefix format and the GRID402_SESSION_PASS environment fallback, so the schema already does the work. The description adds no parameter-level information on top of it. Baseline 3 is appropriate when the schema is this complete.

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 gives a specific verb ('Consulta ... do saldo') and a clearly bounded resource: credit balance, validity, and Spend Controls of a Session Pass. It even enumerates the concrete fields (daily_credit_limit, credits_used_today, allowed_endpoints), so an agent knows exactly what comes back. It stops short of explicitly contrasting itself with the sibling grid402_pass, so it is clear but not fully differentiated.

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?

Usage is implied rather than stated: calling it 'gratuita em tempo real' signals it is the cheap, safe way to check balance before consuming credits. There is no explicit when-to-use or when-not-to-use statement, and no routing to alternatives such as grid402_pass for other pass operations. Adequate but leaves the agent to infer the trigger conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.