Skip to main content
Glama

generate_production_report

Generate a production report for several line tag prefixes over an ISO-8601 date range, with JSON or CSV output for analysis.

Instructions

Generate a production report for several lines.

Args: lines: Line tag prefixes. start_date: ISO-8601 start. end_date: ISO-8601 end. format: json or csv.

Returns: A report document; CSV is returned as text inside the JSON envelope.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lines": "<lines>",
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "generate_production_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesYes
formatNojson
end_dateYes
start_dateYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses that CSV output is returned as text inside the JSON envelope, but it does not address permissions, side effects, failure modes, or whether report generation is read-only.

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?

The purpose is front-loaded, and the Args/Returns structure is compact with no filler. Every line contributes either scope, parameter clarification, or return-format clarity.

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 four-parameter report generator with no annotations and zero schema description coverage, the description covers all parameter meanings and the output format. It is incomplete only in sibling routing and operational caveats, which are secondary given the existing 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%, so the description must supply parameter meaning, and it does: lines are line tag prefixes, dates use ISO-8601, and format is json or csv. It omits the schema default of json and does not clarify date inclusivity or timezone handling.

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 states a specific verb and resource: "Generate a production report for several lines." It scopes the report to multiple line tag prefixes, but it does not explicitly distinguish its purpose from siblings such as get_production_counts or compare_shift_production.

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?

The implied usage is clear: call this when a production report covering multiple lines is needed. However, the description gives no explicit when-not guidance, prerequisites, or alternative tool routing.

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