Skip to main content
Glama

acknowledge_events

Idempotent

Mark polled iFood order events as received so iFood stops redelivering them. Provide event IDs from order listing, up to 2,000 per call.

Instructions

Acknowledge polled events so iFood stops redelivering them. WARNING: endpoint path is best-guess — verify against live iFood docs.

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": {
      "event_ids": "<event_ids>"
    },
    "name": "acknowledge_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
event_idsYesEvent IDs to acknowledge (from list_orders). Max 2000 per call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the safety profile (not read-only, idempotent, non-destructive, open-world), so the description is not carrying that burden. What it does add is genuinely useful and unusual: an explicit warning that the endpoint path is a best guess and should be verified against live iFood docs, which tells the agent to expect possible failure or divergence. It stops short of describing partial-failure behavior or what a success response looks like, keeping it out of the top band.

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, both load-bearing: the first states the action and its effect, the second flags the reliability caveat. The primary purpose is front-loaded and there is no filler or restatement of the tool name.

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 one-parameter, non-destructive, idempotent acknowledgement call with full schema coverage and existing annotations, the definition covers purpose, effect, and a real reliability caveat. The only gap is that no output schema exists and the description does not say what comes back on success versus partial acknowledgement, which matters somewhat given the 2000-item batch size.

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% and the single parameter already documents its type, the 1–2000 bounds, and its provenance ('from list_orders'). The description adds only the framing that these are 'polled events', so it neither extends nor contradicts the schema — the baseline 3 applies when the schema does the explanatory work.

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 specific verb (acknowledge) and resource (polled events) plus the effect ('so iFood stops redelivering them'), which is concrete and unambiguous. It does not explicitly contrast with any sibling, but none of the listed siblings (cancel_order, get_order, list_orders, etc.) plausibly overlap, so an agent can still place it correctly.

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

Usage Guidelines3/5

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

The phrase 'polled events' and 'stops redelivering' implies the workflow slot: call this after retrieving events that need confirmation. However, there is no explicit when-to-use instruction, no statement about when acknowledgement is optional or harmful, and no named alternative or prerequisite sequencing beyond the implicit polling flow.

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