Skip to main content
Glama

action_items_list

The Tasks list, newest first, across active and paused campaigns. kind says which:

  • failed — an API step's call failed. Resolve with campaigns_action_retry, campaigns_action_mark_done or campaigns_action_skip.

  • manual — a manual step is due; instructions says what to do (lead variables filled in). When it is done, call campaigns_action_mark_done (optionally with context values); the next step, e.g. an email, waits until then. Or campaigns_action_skip.

  • rerouted — an email step the compliance rules don't allow for this lead (consent needed in their country, a personal mailbox) became a task to reach them on rerouted_to (linkedin / call) instead, per the campaign's blocked_email_fallback. instructions says why and how. Call campaigns_action_mark_done once you reached out (the lead moves to the next step) or campaigns_action_skip.

Filter with ?campaign=<sqid> / ?step=<sqid> / ?kind=; paginated with ?page= / ?per_page=.

Method: GET /api/v1/workspaces/{workspace_sqid}/action-items/

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "action_items_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNo
pageNo
stepNo
campaignNo
per_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the load and does well: it discloses ordering, campaign-state scope, pagination, and the side effects flowing from each kind (a lead moving to the next step, an email step waiting on mark_done). It does not mention auth/permission needs or rate limits, which keeps it below a 5.

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?

The summary sentence is front-loaded, and each bullet earns its place by defining one kind and its follow-up action. It is dense and borderline long, but the structure is scannable and no sentence is pure filler.

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?

No output schema exists, and the description partially compensates by naming returned fields (`kind`, `instructions`, `rerouted_to`, containing `linkedin` / `call`). It does not fully describe the item payload (ids, timestamps, campaign refs), which is the only material gap for a list endpoint.

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%, so the description must compensate, and it does for all five parameters: `kind` values are given full semantics, `campaign` and `step` are identified as sqid filters, and `page` / `per_page` as pagination. Essentially complete coverage despite an undescribed schema.

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 first line states a specific resource (Tasks) with ordering and scope ('newest first, across active and paused campaigns'), and the bullet list enumerates the three kinds of items returned. An agent can tell this is the read side of the action-item workflow, distinct from the mutation siblings it names.

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

Usage Guidelines5/5

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

Guidance is explicit per kind: failed items are resolved with campaigns_action_retry / mark_done / skip, manual items require mark_done when done, rerouted items require mark_done once outreach occurs. It names the alternative action for every branch, leaving little to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.