Skip to main content
Glama

Read available translation minutes

dub_get_balance
Read-onlyIdempotent

Reads the connected account’s remaining paid translation seconds. This does not consume minutes or change the balance.

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": "dub_get_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
dataYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / data / additionalProperties
      Added value: +false
    • removedOutput schema / properties / data / description
      Removed value: -"The safe public API response, or resumable-upload status."
    • addedOutput schema / properties / data / properties
      Added value: +{
      +  "availableSeconds": {
      +    "minimum": 0,
      +    "type": "number"
      +  },
      +  "freePreviewMaximumSeconds": {
      +    "const": 0,
      +    "type": "number"
      +  },
      +  "freePreviewSeconds": {
      +    "const": 0,
      +    "type": "number"
      +  }
      +}
    • addedOutput schema / properties / data / required
      Added value: +[
      +  "availableSeconds",
      +  "freePreviewSeconds",
      +  "freePreviewMaximumSeconds"
      +]
    • addedOutput schema / properties / data / type
      Added value: +"object"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered. The description adds domain-specific reassurance beyond that: it explicitly says the call consumes no minutes and leaves the balance unchanged, which matters for a quota-based product. It does not cover rate limits or whether the value is cached/fresh, so it stops short of a 5.

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?

Two short sentences with zero waste: the resource and scope come first, the non-consuming behavior second. Nothing is repeated from the annotations verbatim and nothing extraneous is included.

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?

An output schema exists, so return-value detail is unnecessary, and the zero-parameter schema needs no elaboration. For a simple read tool the description is essentially complete; only the title/description unit mismatch and the absence of freshness or auth context keep it below a 5.

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 tool takes zero parameters, so there is no parameter semantics to explain; the baseline for a no-parameter tool is 4. The description correctly implies no input is needed by describing the read as operating on the connected account alone.

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?

States a specific verb and resource: reads the connected account's remaining paid translation seconds. That distinguishes it from quota-spending siblings like dub_quote_translation or dub_create_project. It loses a point only because the title says 'minutes' while the description says 'seconds', leaving a small unit ambiguity for an agent reporting the value.

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 only implied — an agent must infer that this is a pre-flight check before spending quota. There is no explicit statement of when to call it versus dub_quote_translation or dub_get_account, and no mention of prerequisites such as authentication or account connection.

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.

Resources