Skip to main content
Glama

inventory-summary

Destructive

Summarizes a database inventory for a specified date using inventory, overlay, and app command files, then writes the summary page to a chosen output directory.

Instructions

dbabrain common.cli inventory-summary: The inventory to summarise. Changes or removes something. A command on the emergency-operations list takes confirm: "yes" and a reason in its request, as on the command line. Request fields (pass them as request):

  • inventory: The inventory file.

  • overlay: An overlay on it.

  • app_commands: The app commands file.

  • date: The day to summarise.

  • output_dir: Where the page goes.

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": "inventory-summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
requestNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the destructive framing is partly covered. The description does add genuinely useful behavior beyond annotations: the confirm/reason confirmation requirement for emergency-operations commands. What it never explains is why summarising an inventory is destructive or what it overwrites in `output_dir`, leaving the main behavioral question unanswered.

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

Conciseness5/5

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

Scoring corrected to reflect structure issues: the text opens with a fragment ("The inventory to summarise") that is a parameter gloss, not a purpose statement, then inserts multi-sentence boilerplate about emergency operations before the actual field list. The useful content is buried and the flow does not lead with what the tool does, so the sizing is poor in organization even though it is short.

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 exists, so return values need not be explained. For a destructive, open-world command with a single opaque `request` parameter, the description should establish purpose, confirmation behavior, and field meaning; it covers confirmation and field names but leaves purpose inferential and destructiveness unexplained.

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 coverage is 0% and the schema itself is an empty `request` object, so the description carries the full burden — and it does enumerate five request fields (inventory, overlay, app_commands, date, output_dir) with short glosses, which is real value over a bare object. The glosses are thin ("An overlay on it", "Where the page goes") and give no formats or examples, keeping it below a 5.

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 names the resource ("The inventory to summarise") and the field list hints at producing a dated page in an `output_dir`, so an agent can roughly infer it builds a summary page from an inventory file. However, no explicit verb ever states that, and the unrelated line "Changes or removes something" actively muddies the purpose. It does not distinguish itself from siblings like `db-activity` or `app-command-set`.

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 a conditional hint that a command on the "emergency-operations list" requires `confirm: "yes"` plus a `reason`, which is a usage constraint. Beyond that there is no statement of when to call this versus alternatives, no prerequisites, and no exclusions. The bulk of the text is generic boilerplate rather than routing guidance.

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