Skip to main content
Glama
iseletsk
by iseletsk

run-adhoc-report

Generate custom BambooHR reports by submitting a field list or saved preset. Returns JSON or CSV, with an option to include terminated employees.

Instructions

Run an ad-hoc custom report by posting a field list to BambooHR. Use either a saved preset (presetName) or pass an explicit fields array. Returns JSON unless format=CSV. Set onlyCurrent=false to include terminated employees.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleNoReport title (defaults to preset title or "Ad-hoc Report")
fieldsNoExplicit list of BambooHR field IDs or aliases (e.g. firstName, 4670)
formatNoOutput format: JSON (default) or CSV
presetNameNoSaved preset name. Available: finance-close
onlyCurrentNoLimit to current/active employees only (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It provides valuable runtime behavior: output defaults to JSON unless format=CSV, and the onlyCurrent flag controls whether terminated employees are included. It does not mention permissions or side effects, but the tool's read-oriented report nature makes this less critical.

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 concise sentences cover the core action, parameter alternatives, output format, and the key scoping flag. The most important information is front-loaded and every sentence earns its place without redundancy.

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?

The definition gives enough to invoke the tool correctly: it explains preset vs fields, JSON/CSV output, and the onlyCurrent behavior. Gaps are minor, such as not explicitly stating that presetName and fields are mutually exclusive and not pointing to run-custom-report for saved custom reports, but overall it is reasonably complete.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful parameter relationships: presetName and fields are presented as alternatives, format=CSV overrides the JSON default, and onlyCurrent=false includes terminated employees. This goes beyond the schema by clarifying defaults and usage intent.

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 ('Run an ad-hoc custom report') and the resource ('BambooHR') with a distinct mechanism ('posting a field list'). It also differentiates itself from saved-report tools by emphasizing ad-hoc field selection, making its purpose unambiguous even among siblings like run-custom-report.

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 description explains internal options ('Use either a saved preset or pass an explicit fields array') and notes the onlyCurrent behavior, but it does not explicitly state when to choose this tool over run-custom-report or list-report-presets. The 'ad-hoc' wording implies the use case, but no direct alternatives or exclusions are given.

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