Skip to main content
Glama
tillbooks

tillbooks

Official

goods_receipt_reject_lines

Idempotent

Reject HELD goods receipt lines after quality check, leaving ordered quantity open for a later delivery. Requires a reason, recorded on an append-only rejection event.

Instructions

Refuse HELD lines after a quality check. No stock movement and no order quantity: a rejected quantity never entered the warehouse, so the ordered quantity simply stays open and can be received again on a later delivery. reason is required and is recorded with the actor on an append-only rejection event. A line that is not pending is invalid_transition.

Input Schema

NameRequiredDescriptionDefault
grIdYes
reasonYes
lineIdsYes
workspaceIdYes
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Beyond annotations, it discloses the key business effects: no stock movement, no order-quantity reduction, the ordered quantity remains open for later receipt, and reason is recorded with the actor on an append-only rejection event. It also documents the invalid state transition for non-pending lines.

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 front-loaded and dense with useful information, with no filler. Each sentence adds either business-effect clarification, audit behavior, or a state-transition rule.

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 mutation tool with no output schema and sparse annotations, the description covers the important business and audit consequences well. It still leaves parameter-level guidance thin, especially for idempotencyKey, but the operational semantics are largely complete.

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 coverage is 0% for five required parameters, and the description explains only reason and, indirectly, the line-state precondition. It does not clarify workspaceId, grId, lineIds semantics, or idempotencyKey, so it does not compensate for the missing schema descriptions.

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 states a precise operation: refusing HELD goods-receipt lines after a quality check. The verb 'refuse/reject' plus the line-state condition makes it clearly distinct from accepting lines or cancelling the receipt.

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?

It clearly frames when the tool applies: HELD lines after quality check, and it notes that non-pending lines fail with invalid_transition. It does not explicitly name the alternative accept/reverse/cancel tools, but the usage context is largely clear.

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