Skip to main content
Glama

balance_alert_lead_time_get

Read-only

How many days before the money runs out the low-balance warning fires, per client, and where the value comes from (client, workspace or default).

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

Input Schema

NameRequiredDescriptionDefault
client_idNo
client_nameNoClient name or part of it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds genuine value by disclosing that the response includes the resolution source (client, workspace or default), which is behavior not visible in the schema. It stops short of describing the return shape or how unresolved clients are handled, and there is no output schema to fill that gap.

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 compact sentence with the core quantity front-loaded and the source-resolution detail appended. No filler, though the question-style phrasing is slightly less direct than a declarative statement would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of explaining the return value; it does so partially by naming the days value and its source, but omits the response structure and the all-clients default behavior implied by zero required parameters. Adequate but with clear gaps for a two-parameter lookup tool.

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 coverage is 50%: client_name is documented ('Client name or part of it') while client_id is bare. The description's 'per client' hints that the parameters act as a client filter, but it does not clarify the relationship between client_id and client_name or what an empty call (0 required params) returns.

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 names the specific resource (low-balance alert lead time in days) and the scope (per client), plus the extra dimension of where the value is inherited from. The read intent is clear even though the verb is phrased as a question rather than 'get'. It does not explicitly contrast with the sibling balance_alert_lead_time_set, but the retrieval framing makes the direction obvious.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no mention of the setter sibling, and no statement of prerequisites or what happens when no client is supplied. Usage is only weakly implied by the interrogative phrasing.

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.