Skip to main content
Glama

bridge_usage

bridge_usage
Read-only

Track observed API usage excluding external sessions and fabricated costs. Get accurate data for billing and monitoring.

Instructions

Uso de API observado pela ponte, sem inventar custo nem contar sessões externas.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so safety is covered. The description adds real behavioral scope beyond that: the figures are bridge-observed only, cost is not computed, and external sessions are excluded — which prevents an agent from misreading the numbers as billing data. It still omits return shape, granularity, and any time window, so it adds context without reaching a 4.

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 no filler, and the exclusion clauses are packed into the same breath as the scope statement. It is efficient, though the front-loaded phrase is a noun fragment rather than a clear action statement.

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 parameters and no output schema, the description carries the burden of explaining what comes back, and it only implies a usage report without describing its contents or units. Combined with the terse, non-English phrasing, an agent knows roughly what the tool is for but not what to expect from a call.

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 nothing for the description to disambiguate; the baseline for a no-param tool applies. The description sensibly spends its words on scope instead of restating the empty schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Uso de API observado pela ponte" identifies the resource (API usage) and the vantage point (observed by the bridge), which tells an agent this is a usage-reporting tool rather than a model/task/workspace tool. However, there is no verb (read? summarize? list?) and no indication of what dimension of usage is returned, so the purpose stays at a vague level rather than a specific verb+resource.

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?

The clause "sem inventar custo nem contar sessões externas" does carve out scope — no cost estimation, no external sessions — which is a partial when-not signal. But there is no positive guidance on when an agent should call this rather than, say, bridge_status or bridge_capabilities, and no named alternative.

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