Skip to main content
Glama

Ration Kitchen Agent Server

get_kitchen_stats

Read-only

Return windowed Flight Recorder aggregates: counts by event type, top cooked meals, and totals for cooked / docked / expired / jettisoned.

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_kitchen_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
windowNoAggregation window (default 7d)

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
metaNo
toolYes
errorNo
outcomeNo
warningsNo
requestIdNo
retryableNo
operationIdNo
retryAfterMsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds the metric set that will be computed. It does not mention any limits, cost, caching, or whether the window is inclusive, and idempotentHint=false on a pure read goes unremarked but is not contradicted. Return shape is covered by the output schema.

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?

One dense sentence, front-loaded with the verb and scope, with the returned metrics enumerated in place of vague phrasing. Nothing is padding and nothing needed for invocation is buried.

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?

A one-optional-parameter read tool with an output schema and full annotation coverage needs little prose, and the metric enumeration is enough to know what comes back. What is missing is disambiguation from get_kitchen_summary and get_kitchen_events, plus any note on domain terms like 'docked' or 'jettisoned' for callers unfamiliar with the Flight Recorder vocabulary.

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 100% with a single enum-typed window parameter carrying a default and description, so the schema does the heavy lifting. The word 'windowed' in the description reinforces that all figures are scoped to the window, adding mild emphasis beyond the schema but no new syntax or semantics.

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?

States a specific verb ('Return') and resource ('windowed Flight Recorder aggregates') and enumerates the contents: counts by event type, top cooked meals, and totals for cooked/docked/expired/jettisoned. It is clearly an aggregation tool, distinguishable in kind from event-level siblings, but it never names get_kitchen_events or get_kitchen_summary, so the boundary with those is left to inference.

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 is only implied: 'aggregates' signals this is for roll-up statistics rather than raw records, which implicitly points event lookups elsewhere. There is no explicit when-to-use statement, no when-not, and no named alternative among the many get_* siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources