Skip to main content
Glama
Beankeeper

Beankeeper

Official

payroll_import

Import reviewed aggregate payroll using the exact preview digest, excluding employee data, so payroll entries post to your books with an auditable, reversible receipt.

Instructions

Import or propose reviewed aggregate payroll using the exact preview digest. Exclude employee data.

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": {
      "company": "<company>",
      "export_json": "<export_json>",
      "digest": "<digest>"
    },
    "name": "payroll_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
digestYesReviewed digest returned by `payroll_preview`.
companyYes
export_jsonYesThe same aggregate JSON export that was previewed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations only declare readOnlyHint=false, so the description must carry the mutation semantics. It adds two useful constraints (digest must match the reviewed preview, no employee-level data), but leaves critical behaviors unexplained: whether it commits or merely stages, what a digest mismatch does, whether it is idempotent, and what permissions are required for a high-stakes financial write.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the action and the digest requirement, with no filler. The terseness costs some clarity around 'import or propose'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutating payroll operation with no output schema and no explanation of the return value (import id, propose status, or journal reference) that the agent would need to chain into payroll_show or an audit check. The propose-vs-commit distinction is unresolved, leaving the definition thin for the tool's risk level.

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 67%, so the baseline is 3. The description reinforces that export_json must be the same aggregate JSON that was previewed and that it must contain no employee records, which constrains content beyond the schema; it adds nothing about the undescribed 'company' parameter.

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?

States a specific verb and resource ('import or propose reviewed aggregate payroll') and a hard precondition ('exact preview digest'), which distinguishes it from payroll_preview. The dual verb 'import or propose' leaves the exact operation slightly ambiguous, and the schema has no mode parameter to resolve which one happens.

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?

'using the exact preview digest' implies payroll_preview must be run and reviewed first, and 'Exclude employee data' scopes the input. However, it never states what to do when the digest is stale, when to import vs. propose, or which sibling to use for viewing/undoing the result.

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