Skip to main content
Glama

Approve a task on Tasks

approveItem
Destructive

Approve one task waiting on Tasks: Kooga carries out what it proposes, as if the person pressed Approve in Kooga. readWaitingItems lists the cards with their actionId; only a proposal can be approved, not a question or a step to do in Kooga. A card that features an article proposed before it (a campaign about it) and is approved before that article is published waits: the answer is queued, and it is carried out by itself once the article is live, with nothing more to approve. When what it carries out leaves Kooga (publishing, sending, the live store, a paid check), the person confirms first, the same way as that change on its own: where the app can show the question it does, otherwise the first call answers with a question to put to the person word for word and a confirmToken to call again with after they said yes.

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": {
      "actionId": "<actionId>"
    },
    "name": "approveItem"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionIdYesThe card, as readWaitingItems gives it
workspaceIdNoThe workspace, as listWorkspaces gives it (its id or slug). Leave it out when this connection reaches one workspace.
confirmTokenNoOnly after the person said yes: the confirmToken this tool answered with when it asked. Never invent one, and never send one the person did not confirm.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations flag destructiveHint and openWorldHint, but the description adds non-obvious behavior the annotations cannot convey: proposals that depend on an unpublished article are queued and execute automatically once the article is live. It also discloses the confirmation protocol for outbound effects, including that a first call may return a question plus a confirmToken rather than performing the action. That is substantial context beyond the annotation set.

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

Conciseness2/5

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

One dense run-on block mixes four separate concerns (what is approvable, the queueing rule, the confirmation gate, the token round-trip) with no paragraphing or ordering signal. Embedded asides like '(a campaign about it)' and 'the same way as that change on its own' add parsing cost. The content mostly earns its place, but the structure actively works against fast comprehension.

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?

With no output schema, the description correctly explains what the call can return: either the completed action or a question plus confirmToken to replay. It covers prerequisites and deferred execution, which is the hard part of this tool. Minor gaps remain around failure modes and whether a repeated approval is rejected or silently re-run.

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 already 100%, so the baseline is 3, but the description reinforces the confirmToken contract in behavioral terms: it comes from a prior answer, must follow the person's yes, and is not to be invented. It also ties actionId back to readWaitingItems. workspaceId is left entirely to the schema.

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 concrete verb and resource ('Approve one task waiting on Tasks') and immediately narrows the object: only a proposal, not a question or a step to do in Kooga. That exclusion genuinely separates it from siblings like decideItem or question-type cards. The phrasing 'Kooga carries out what it proposes, as if the person pressed Approve' is oddly indirect, which keeps it short of a 5.

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?

Gives an explicit entry point ('readWaitingItems lists the cards with their actionId') and an explicit exclusion (questions and in-Kooga steps cannot be approved). It also specifies the two-step confirmation path before any external effect. It does not name or differentiate against decideItem or dismissItem, so the alternative-selection guidance is incomplete.

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.

Resources