Skip to main content
Glama

approvals_get_work_items_for_deployment_request

Read-onlyIdempotent

Fetch work items linked to a deployment request to review approval tasks, states, and paginated results.

Instructions

Returns work items for a deployment request GET /workitem/api/workitems/{deploymentId}/{requestId}

Input Schema

NameRequiredDescriptionDefault
idsNo
pageNoResults page you want to retrieve (0..N)
sizeNoNumber of records per page.
sortNoSorting criteria in the format: property,(asc|desc). Default sort order is ascending.
typeNo
stateNo
expandNo
requestIdYes(path)
deploymentIdYes(path)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds nothing beyond the raw HTTP path – no notes on result set size, pagination defaults, or what 'work items' contain here versus the unfiltered endpoint.

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

Conciseness3/5

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

Two lines, front-loaded, no filler – but the second line merely restates the endpoint path an agent gains little from. Conciseness is fine; the brevity here reflects under-specification rather than discipline.

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

Completeness3/5

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

For a read-only filtered list tool with no output schema, the description is too thin: nine parameters, 56% schema coverage, and several ambiguous ones (ids vs. deploymentId/requestId, expand) are left unexplained. An agent can invoke it but may misuse the filters.

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 only 56%; nine parameters exist and the description only indicates that deploymentId and requestId come from the path. It says nothing about ids, type (enum MUI), state (ACTIVE/ANSWERED/REJECTED/EXPIRED), expand, or the paging parameters, leaving half the parameters undocumented in both schema and description.

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 ('Returns work items for a deployment request') and the path template makes the deploymentId/requestId scoping explicit. It doesn't however name or distinguish itself from the very close siblings approvals_get_work_items and approvals_get_work_items_for_deployment, which an agent could easily confuse with it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this versus approvals_get_work_items, approvals_get_work_items_for_deployment, or approvals_get_work_item_by_id. The description is purely a restatement of the endpoint with no usage context or exclusions.

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