Skip to main content
Glama

get_work_packages

Fetch multiple OpenProject work packages in a single batch call. Handles up to 100 IDs, returns per-item results, and continues even if some fetches fail.

Instructions

Get multiple work packages by ID in a single batch call.

Fetches work packages in parallel and returns per-item results. Failed fetches are reported individually without stopping the batch. Maximum 100 IDs per batch.

ids: internal ids (e.g., 952) or display_ids (e.g., "PROJ-51"), not UI display numbers. Duplicate IDs are automatically deduplicated.

select restricts each result's work_package to the given fields (e.g. ["id", "subject", "status"]); an invalid name returns the allowed set. The id/success/error fields on each result are always included regardless of select, so you can still tell which items succeeded.

For batches with many full-detail items, set text_limit and/or select proactively — an unbounded batch of large work packages can exceed the tool-result size limit and get redirected to a file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idsYes
selectNo
text_limitNo
Behavior5/5

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

No annotations provided; description fully carries burden. Discloses parallel fetching, per-item results, failed fetches don't stop batch, deduplication, select behavior (invalid name returns allowed set, always includes id/success/error), and size limit warnings.

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?

Well-structured with clear paragraphs covering purpose, behavior, parameter details, and warnings. Slightly verbose but front-loaded main purpose. Could use bullet points but effective.

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?

Covers batch behavior, error handling, deduplication, select behavior, and size limits. No output schema provided, but description mentions per-item result structure (id/success/error fields). Lacks explicit return format details, but sufficient for typical use.

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

Parameters5/5

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

Schema coverage is 0% but description adds detailed meaning: ids (internal vs display IDs, deduplication), select (field restriction, behavior with invalid name), and text_limit (prevent size limits). Significantly enhances schema understanding.

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?

Clearly states 'Get multiple work packages by ID in a single batch call.' Identifies verb, resource, and scope. Distinguishes from sibling tools like get_work_package (single) and search_work_packages (search methodology).

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?

Explicitly states when to use (batch fetching by ID) and provides usage details: maximum 100 IDs, error handling, and proactive select/text_limit advice. Does not explicitly state when not to use, but context implies alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jtauschl/openproject-ce-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server