Skip to main content
Glama

Never86'd Action Shift

analyze_labor

Read-onlyIdempotent

Analyze an operator-provided labor or time-clock CSV for schedule-versus-actual drift, early clock-ins, late clock-outs, overtime concentration, and possible shifts with no attached sales. Returns Unverified observations only; it never alleges theft or misconduct.

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": {
      "csv": "<csv>"
    },
    "name": "analyze_labor"
  }
}

Input Schema

NameRequiredDescriptionDefault
csvYesCSV text with Location, Employee, Scheduled Start/End, and Clock In/Out. Optional Net Sales and Wage Rate improve the report.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's added value is output framing: results are 'Unverified observations only' and it 'never alleges theft or misconduct.' That is meaningful behavioral context an agent needs in order to report findings responsibly. It does not describe observation volume, ranking, or how missing optional columns degrade the report.

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?

Two sentences, both load-bearing: the first lists the analytical outputs, the second sets the epistemic limit on the result. The purpose is front-loaded and the cautionary clause lands at the end where it is most salient.

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?

With no output schema, the description carries the burden of describing returns, and it does so at the level of the findings produced plus their 'Unverified' status. For a single-CSV analysis tool that is largely sufficient, though it omits any indication of result structure, count, or how the optional Net Sales/Wage Rate fields change the report.

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

Parameters3/5

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

There is a single parameter and schema coverage is 100%, so the schema already documents the expected columns and the 750,000-character cap. The description adds 'operator-provided' provenance but otherwise restates the same input concept rather than contributing new syntax, formatting, or edge-case guidance. Baseline 3 is appropriate.

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 names a specific verb and resource ('Analyze an operator-provided labor or time-clock CSV') and enumerates the exact findings produced: schedule-versus-actual drift, early clock-ins, late clock-outs, overtime concentration, and shifts with no attached sales. This domain framing ('labor or time-clock') cleanly separates it from sibling analyzers such as analyze_beverage and analyze_vendor_prices without needing to name them.

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?

Usage context is clear: this applies when the operator supplies a labor/time-clock CSV, and the schema-implied requirement (Location, Employee, Scheduled Start/End, Clock In/Out columns) is reinforced. There are no explicit exclusions or pointers to alternative tools for adjacent questions (e.g., standards or policy questions served by ask_pour_standards), so it stops short of full when-not guidance.

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