Skip to main content
Glama

Reject a suggested match for an expected container

reject_expected_container_suggestion
DestructiveIdempotent

Deletes data: sets a suggested shipment aside for good, as the person who connected this app, and records it in the organization's audit log. It is not offered for this container again, and nothing here brings it back; the container stays planned and can still be matched with match_expected_container. Use it only when the user says the shipment is not the container, and say which one before calling it. A suggestion already set aside is left as it is, so it is safe to repeat. Sends nothing and calls no AI. Get the suggestion's id from the suggestions of a planned container in list_expected_containers.

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": {
      "expected_container_id": "<expected_container_id>",
      "suggestion_id": "<suggestion_id>"
    },
    "name": "reject_expected_container_suggestion"
  }
}

Input Schema

NameRequiredDescriptionDefault
suggestion_idYesA suggestion id such as "esg_14", from the `suggestions` of an expected container in list_expected_containers.
expected_container_idYesAn expected container id such as "exs_90", as returned by list_expected_containers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, and the description earns credit for the extra context annotations can't express: the action is attributed to the connecting user, is written to the organization's audit log, is permanent ("nothing here brings it back"), and sends no notifications or AI calls. That is substantial 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.

Conciseness4/5

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

Front-loads the destructive nature in the first clause, which is exactly the right ordering, and every sentence carries operational information. There is mild redundancy between "set aside for good", "not offered for this container again", and "nothing here brings it back", but the emphasis is defensible for an irreversible action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter mutation with no output schema and full annotation coverage, the description supplies trigger condition, irreversibility, idempotency, source of both ids, and the recovery path via match_expected_container. Nothing an agent needs in order to call it correctly is missing.

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 description coverage is 100%, so both expected_container_id and suggestion_id are already documented with id examples in the schema. The description repeats the same provenance (suggestion id from `suggestions` of a planned container in list_expected_containers), adding no new format or constraint, so the baseline 3 applies.

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?

Opens with a specific verb and effect ("Deletes data: sets a suggested shipment aside for good") and names the concrete object, a suggested match on an expected container. That is clearly distinguishable from accept_expected_container_suggestion and dismiss_email_suggestion without opening any schema.

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 trigger ("Use it only when the user says the shipment is not the container") plus a precondition to state which suggestion before calling. It also notes the container stays planned and can be re-matched with match_expected_container, which frames the alternative path. It stops short of explicitly contrasting reject against accept or dismiss siblings, so a 4 rather than 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