Skip to main content
Glama
Sarthak2426

MCP Workforce Guardian

by Sarthak2426

Log Hourly Output

log_hourly_output

Capture a worker's hourly parts made and rejected count. Anomalous deviations from normal output trigger a human approval gate before the log is saved.

Instructions

Record this hour's output for a worker. If the reported count is far from the worker's normal rate, the write requires human approval first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
worker_idYes
parts_madeYes
rejected_partsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of disclosing side effects. It explicitly states that the operation is a write and that human approval is required when counts deviate from the normal rate, which is important behavioral context.

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 description is two sentences, front-loaded with the main purpose and followed by the key approval caveat. Every sentence earns its place with no filler or repetition.

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 straightforward three-parameter worker-output logging tool, the description covers the core purpose, the write side effect, and an approval gate. It does not define 'far from normal rate,' but the presence of an output schema reduces the need to describe return values.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not explain worker_id, parts_made, or rejected_parts individually. The phrase 'reported count' only vaguely maps to the integer parameters and leaves ambiguity about how parts_made and rejected_parts relate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action, 'Record this hour's output for a worker,' which precisely identifies what the tool does and the resource it acts on. It also adds a distinguishing detail about human approval for unusual counts.

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?

The usage context is clear: call this tool when recording a worker's hourly output. It does not explicitly mention alternatives or exclusions, but the sibling tool names are distinct enough that an agent can infer when this tool is appropriate.

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