Skip to main content
Glama

Proxy status

get_proxy_status
Read-onlyIdempotent

Retrieve proxy health and compaction stats via one GET to /guardian/stats, confirming whether the proxy is up or compacting before using span tools to read archived text.

Instructions

Proxy up and compacting? Use list_spans, search_spans or read_span for archived text. One GET to /guardian/stats, 3 s. Returns stats.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
run_idNoRun id.
dry_runNoDry.
num_ctxNoWindow.
versionNoVersion.
upstreamNoURL.
compactions_performedNoCompactions.
effective_input_budgetNoBudget.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv0.15.0
    • changedOutput schema / properties / dry_run / description
      Previous value: -"Computing only."New value: +"Dry."
    • changedOutput schema / properties / effective_input_budget / description
      Previous value: -"Budget, tokens."New value: +"Budget."
    • changedOutput schema / properties / num_ctx / description
      Previous value: -"Window, tokens."New value: +"Window."
    • changedOutput schema / properties / run_id / description
      Previous value: -"Run's span folder."New value: +"Run id."
    • changedOutput schema / properties / upstream / description
      Previous value: -"Backend URL."New value: +"URL."
    • changedOutput schema / properties / version / description
      Previous value: -"Proxy version."New value: +"Version."
  2. Addedv0.11.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds real value beyond that by naming the underlying endpoint (/guardian/stats) and a latency bound of 3 s, which tells the agent this is cheap and fast. However, it does not say what happens when the proxy is down—whether the call errors or returns a negative status—which is the single most important behavioral detail for a health-check tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening question fragment is awkward and front-loads ambiguity rather than fact. "Returns stats" is pure filler given an output schema exists, and could have been replaced with the down/error behavior the agent actually needs.

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?

An output schema is present, so return values needn't be explained, and the latency and endpoint details are useful. Still missing is the failure-mode behavior (proxy down, timeout at 3 s) and how this differs from get_seal_status/get_context_status, leaving the definition thin for a status tool whose main use case is diagnosing an unhealthy proxy.

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 parameterless schema applies. No parameter semantics gap exists.

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?

The description gestures at the purpose with "Proxy up and compacting?" and "Returns stats," which implies a health/compaction status check, but it never states a clean verb+resource like "Check whether the proxy is running." An agent can guess the purpose but must infer it from a question fragment rather than a declarative statement.

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

Usage Guidelines4/5

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

It explicitly routes the agent away from this tool for archived text, naming three siblings (list_spans, search_spans, read_span) as the correct alternatives for that need. What's missing is any says-nothing about when to use this tool versus get_seal_status or get_context_status, the other status siblings.

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