Skip to main content
Glama
postgresai

postgresai

Official

list_action_items

Fetch the action items associated with a given issue ID, optionally scoped to an organization, to help teams review follow-up tasks and ownership.

Instructions

List action items for an issue

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": {
      "issue_id": "<issue_id>"
    },
    "name": "list_action_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
debugNoEnable verbose debug logs
org_idNoOrganization ID. Optional with a per-organization token (uses the stored org); REQUIRED with a global token, which can reach every organization the user belongs to and will not assume one. Use orgs_list / `pgai orgs` to discover valid values.
issue_idYesIssue ID (UUID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full burden of behavioral disclosure and provides almost none of it. It says nothing about pagination, ordering, result limits, whether closed/completed action items are included, or what permissions or token type are needed, all of which matter for a list operation.

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?

The single short sentence contains no filler and is front-loaded with the verb, but it is under-specified rather than efficiently concise. There is room for a sentence of genuine behavioral detail that was not used.

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?

For a tool with three parameters, no annotations, and no output schema, the description omits what the return value looks like and how results are scoped or ordered. The rich schema compensates for parameter meaning but not for the missing behavioral and return-shape context.

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 description coverage is 100%, so all three parameters (issue_id, org_id, debug) are already documented with meaningful text, including the org_id auth nuance. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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 states a specific verb and resource ("List action items") plus the scoping entity ("for an issue"), so an agent knows it returns a collection rather than a single record. It does not differentiate itself from siblings such as view_action_item or list_issues, which keeps it at 4 rather than 5.

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 when-to-use guidance, no mention of alternatives like view_action_item for a single item, and no stated preconditions. The only usage signal is implicit in the phrase "for an issue," leaving the agent to infer that an issue_id is needed and when this is preferable to other list or view tools.

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