Skip to main content
Glama

Coinage

Mark pending action

mark_pending_action
Idempotent

Mark one of the signed-in person's pending actions seen or done. Requires scope account:write. Ask first. seen keeps it in the list. done removes it from the open list. Marking notification_setup done confirms assistant notifications.

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>",
      "status": "<status>"
    },
    "name": "mark_pending_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusYesseen keeps the item. done dismisses it.
actionIdYesId from get_pending_actions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the auth scope, the confirmation requirement, the concrete side effect of each status value, and a non-obvious special case ('notification_setup done confirms assistant notifications'). Nothing here contradicts readOnlyHint=false, idempotentHint=true, or destructiveHint=false — dismissing from an open list is consistent with a non-destructive, idempotent write.

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?

Short, front-loaded, and every clause carries information an agent needs before calling. The 'seen keeps it in the list / done removes it' pair restates the schema's enum descriptions, a small redundancy, but the remaining sentences are efficient.

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?

For a 2-parameter mutation with no output schema, it covers the important ground: scope, confirmation, side effects, and the special-case semantics. It never says what the call returns or what happens on an already-seen/already-done action, minor gaps given idempotentHint is declared.

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 100%, so the baseline is 3, and the description earns one more by explaining the consequence of each status value rather than just its label, plus the notification_setup exception that the schema does not encode. The status semantics partly duplicate the schema's own enum descriptions, which keeps it from a 5.

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?

States a specific verb and resource ('Mark ... pending actions') plus the exact two target states (seen/done). It also implicitly separates itself from the read-side sibling by pointing at 'Id from get_pending_actions' in the schema, so an agent can tell this is the mutating counterpart to listing pending actions.

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 a concrete prerequisite ('Requires scope account:write') and an explicit behavioral gate ('Ask first'), which is unusually actionable for a mutation tool. It does not name an alternative tool or a when-not-to-use condition, so it stops short of a 5.

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