Skip to main content
Glama

Complete a list

complete_list
DestructiveIdempotent

Add places to a list from its original search; places already in the list are skipped. Priced as an export: 1 credit per place never delivered to the account (Agency: included under fair use).

Paid: maxCredits (the most credits this call may spend, never exceeded) and idempotencyKey (a new UUID v4 for this operation) are required; without them nothing runs. To retry after an error or a timeout, send the same idempotencyKey with the same arguments: nothing is charged twice. Ask the user before calling it.

Same call as POST /api/v1/lists/{id}/complete of the REST API.

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": {
      "listId": "<listId>",
      "rows": "<rows>",
      "maxCredits": "<maxCredits>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "complete_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
rowsYesPlaces to add from the original search (places already in the list are skipped).
listIdYesId of a list of the account (from create_list or list_lists).
maxCreditsYesThe most credits this call may spend (required on every paid call, with an Idempotency-Key header). Never exceeded.
idempotencyKeyYesA new UUID v4 for this operation (sent as the Idempotency-Key of the API). Reuse it only to retry the very same call: the saved result comes back, nothing is charged twice.

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 already flag destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it discloses the billing model (1 credit per place never delivered, Agency fair-use inclusion), the hard maxCredits ceiling, exact retry/idempotency semantics with no double charge, and a user-confirmation requirement. These are precisely the cost and safety facts an agent cannot get from the structured fields.

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?

Purpose is front-loaded in the first clause, followed by cost, then hard requirements, then retry policy, then the REST mapping — a sensible ordering. Some repetition with the schema exists ("never exceeded", idempotency reuse is stated twice across description and parameter docs), which costs a little but does not bury the essentials.

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 destructive, paid, 4-required-parameter mutation with no output schema, the description covers cost, consent, idempotency, skip semantics and endpoint equivalence. The main gap is return behavior — it never says whether the call returns a job or an immediate result, which matters given the start_list_job/estimate_list_job siblings — and there is no output schema to fall back on.

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 per-parameter descriptions already carry the baseline, and much of the prose restates them. The added value is the pricing model that makes maxCredits interpretable (1 credit per never-delivered place) and the explicit statement that omitting maxCredits/idempotencyKey means "nothing runs", which tells the agent the failure mode of a bad call.

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?

The first sentence gives a specific verb and resource ("Add places to a list from its original search") plus the key side-constraint that existing list members are skipped, and the closing line maps it to POST /api/v1/lists/{id}/complete. It does not explicitly contrast with the plausible alternative (estimate_list / start_list_job), so an agent must infer the boundary, but the operation itself is unambiguous.

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?

There is strong invocation guidance: it is a paid call, maxCredits and idempotencyKey are mandatory, the same key must be reused on retry, and "Ask the user before calling it" gives an explicit consent rule. What is missing is when to choose this over the estimate_* siblings for a cost check, or over start_list_job for job-based execution, so the routing decision is only implied.

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.