Skip to main content
Glama
borgels

mcp-server-lager

by borgels

Lageransvarlig: afregninger

lager_ansvarlig_afregninger
Read-onlyIdempotent

View warehouse settlements with status, or one case's settlement lines and missing items; approval and posting take place in the app.

Instructions

Uden id: alle afregninger med status. Med id: afregningen pr. sag med linjer og mangler. Godkendelse og bogføring sker i appen, ikke her.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lagerIdNoLager-id. Udelades, når du kun har adgang til ét lager (se lager_me).
afregningIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the safety profile is covered. The description adds genuinely new context: what each mode returns (settlements with status; per-case detail with lines and missing items) and an explicit boundary that approval and posting cannot be done here. It stops short of describing pagination or volume limits.

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?

Three short sentences, front-loaded with the mode-based behavior and ending with the scope boundary. No filler, every sentence earns its place.

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 return-content burden and does describe both result shapes plus the approval/posting exclusion. For a two-parameter read tool it is nearly complete; only edge details such as result size or pagination are omitted.

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?

Schema coverage is only 50% (afregningId is undocumented). The description partially compensates by explaining the semantic effect of supplying an id (per-case detail vs. full list), which is the key behavioral meaning of afregningId. However it never names the parameter, leaving it ambiguous whether 'id' means afregningId or lagerId, and adds nothing beyond the schema for lagerId.

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 names the resource (afregninger) and precisely splits the tool's behavior by mode: without an id it returns all settlements with status, with an id it returns the per-case settlement including lines and missing items. That is enough to tell it apart from siblings like lager_ansvarlig_overblik or lager_bookinger, though no sibling is named explicitly.

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 two modes of use are described (id omitted vs id supplied), which implies when each call shape applies. The statement that approval and posting happen in the app, not here, usefully bounds scope, but there is no explicit guidance on when to choose this tool over the other lager_ansvarlig_* tools.

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