Skip to main content
Glama

self-status

Read-only

Reports what this DBA Brain installation is and displays caller-supplied last-run status and start times for each app command, helping verify recent activity and diagnose missing run data.

Instructions

dbabrain common.cli self-status: What this installation is - and, stated by the caller, when each app last ran. Request fields (pass them as request):

  • format: json (default) | txt.

  • last_runs: {app code: {status, started_at}} - the newest run of each app command in the last day. The store is not opened here (rules R09): the caller reads it (/spbot_self_status does). Absent, the column says not stated.

  • store_error: Why the caller could not read the last runs; shown in their place.

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": "self-status"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the readOnlyHint/destructiveHint annotations, the description discloses a genuinely non-obvious trait: the store is not opened here (rules R09), so the tool reports only what the caller supplies, and a caller-side failure surfaces via store_error in place of data. That materially changes how an agent should invoke it; the only gap is no mention of what installation metadata is actually covered.

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?

The definition front-loads the one-line purpose and then uses a compact bulleted field list, which is easy to scan. Minor waste in cryptic phrasing such as 'stated by the caller' that requires a second read, but no redundant sentences.

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 one-parameter status tool with an output schema covering the return shape, the description supplies the request contract, the caller-ownership rule, and the error path. Complete enough to invoke correctly; only the set of installation attributes reported is left to the output schema.

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?

Schema description coverage is 0% and the single `request` parameter is an untyped anyOf, so the description carries the full burden. It does this well by enumerating the request subfields (format with json default/txt, last_runs as app-code → {status, started_at} for the last day, store_error) and their meanings, compensating for the bare 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?

The description states the tool reports what the installation is plus per-app last-run times, which is a recognizable status-report purpose, but the phrasing 'What this installation is' is vague and there is no explicit verb+resource pairing. It never distinguishes itself from siblings like db-status or check-credentials, so an agent must infer the boundary.

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 context is implied rather than declared: the definition explains the caller must read the run store itself (/spbot_self_status) and pass the result in, and that an omitted value renders as 'not stated'. That is useful operational context but there is no explicit when-to-use/when-not guidance relative to the many sibling status/check tools.

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

Deploy Server

Other Tools