Skip to main content
Glama

Acknowledge wake

stack_acknowledge_wake

Tell STACK the agent has picked a wake up: a delivered wake becomes acknowledged and leaves the open queue. Saying it twice is fine; a wake that was never delivered, or belongs to another agent, is refused.

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": {
      "agent_id": "<agent_id>",
      "wake_id": "<wake_id>"
    },
    "name": "stack_acknowledge_wake"
  }
}

Input Schema

NameRequiredDescriptionDefault
wake_idYesWake id (wke_*)
agent_idYesAgent id (agt_*): any agent of the customer, with or without an agent account
passport_tokenNoThe Passport JWT of the agent whose queue is read (X-Passport-Token). With it the call is made as that agent, whoever is signed in; it must be an agent of the signed-in account. The owner reads without one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / passport_token / description
      Previous value: -"The agent's Passport JWT (X-Passport-Token); the owner reads without one."New value: +"The Passport JWT of the agent whose queue is read (X-Passport-Token). With it the call is made as that agent, whoever is signed in; it must be an agent of the signed-in account. The owner reads without one."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only supply the safety profile (non-read-only, non-destructive, closed-world), while the description adds real behavioral context: the queue mutation, idempotent retries, and two rejection cases (never delivered, wrong agent). It stops short of stating the response shape or auth preconditions, which the schema partly covers.

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

Conciseness5/5

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

Two sentences, front-loaded with the action and its effect, followed by retry and failure semantics. No filler or restatement of the title.

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 three-parameter mutation with full schema coverage and no output schema, the description covers effect, idempotency, and failure modes adequately. A brief note on what a successful acknowledgement returns would close the last gap.

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 coverage is 100%, so both required parameters and passport_token are already documented in the schema. The description adds only indirect semantics — that agent_id must match the wake's owner or the call is refused — which is a marginal gain over the 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 description names a specific verb ('acknowledge') and resource ('wake'), and states the concrete effect: a delivered wake becomes acknowledged and leaves the open queue. That state transition distinguishes it from read-oriented siblings like stack_get_wake without ambiguity.

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?

It makes the trigger condition clear (the agent has picked up a wake) and adds idempotency ('saying it twice is fine') plus the refusal conditions. What's missing is an explicit pointer to alternatives, e.g. what to call instead when a wake was never delivered.

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.