Skip to main content
Glama
Metrx MCP Server

Metrx MCP Server

by metrxbots

Get Budget Status

metrx_get_budget_status
Read-onlyIdempotent

Get the current status of all budget configurations. Shows spending vs limits, warning/exceeded counts, and enforcement modes. Use this to monitor spending governance across your agents. Read-only.

Instructions

Get the current status of all budget configurations. Shows spending vs limits, warning/exceeded counts, and enforcement modes. Use this to monitor spending governance across your agents. Read-only. Budget changes (set_budget, update_budget_mode) need an API key with the 'admin' scope. Requires an API key with the 'read' scope.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, destructiveHint=false, openWorldHint=false), so "Read-only" is redundant restatement. The description does add genuinely new behavior context the annotations cannot express: the required 'read' API scope for this call and the 'admin' scope needed for the related budget mutations, which tells the agent about an auth precondition and where the write path diverges.

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?

Four short sentences, front-loaded with what the tool returns before the auth note. Minor waste: "Read-only" duplicates the readOnlyHint annotation, and the two scope sentences could be merged into one without losing meaning.

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 zero-parameter, non-destructive read with rich annotations and no output schema, the definition covers purpose, returned fields, and auth requirements. What is missing is relative scope — how this differs from the other budget/spend read tools — which an agent would need to pick correctly among many siblings.

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 document and the baseline of 4 applies. The description correctly adds no param commentary that could conflict with the empty schema.

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 and resource ("Get the current status of all budget configurations") and enumerates the returned content: spending vs limits, warning/exceeded counts, enforcement modes. It partially differentiates from the budget-mutating siblings (set_budget, update_budget_mode) via the auth-scope paragraph, but does nothing to distinguish itself from read-side siblings like get_cost_summary or get_balance.

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?

"Use this to monitor spending governance across your agents" is implied usage context, not explicit routing guidance. There is no statement of when to prefer this over the other 20+ metrx_get_* read tools (cost summary, balance, dashboard headline), and no exclusions.

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