Skip to main content
Glama

Discard a contact import draft

flow_discard_contact_import
Destructive

Drops a draft built with flow_import_contacts and the rows it holds; none of them was imported. Frees its place among the brand's 3 drafts holding contacts. An import already made from it stays.

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": {
      "draftId": "<draftId>"
    },
    "name": "flow_discard_contact_import"
  }
}

Input Schema

NameRequiredDescriptionDefault
brandIdNoThe id of the brand this change is for: the active brand (flow_whoami). Required when the connection covers several brands; the change is refused when another brand is active.
draftIdYesFrom flow_import_contacts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

The annotations already state destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description adds useful context: the held rows are discarded but 'none of them was imported', an import already made from the draft survives, and the draft count drops by one. It does not explicitly say whether the discard is reversible or what the response says, which leaves a small gap.

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, dense and front-loaded: what is destroyed comes first, then what survives and the draft-limit effect. There is no padding or repetition.

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 destructive tool with complete schema coverage, destructive annotations, and no output schema, the description covers what is removed, what persists, and which sibling produced the draft, so nothing an agent needs in order to call it 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 parameters already have documentation: draftId is 'From flow_import_contacts' and brandId has its active-brand rule. The description adds no extra detail about draftId or brandId beyond what the schema provides, so a baseline score of 3 is appropriate.

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 uses a specific verb ('Drops') on a specific resource ('a draft built with flow_import_contacts and the rows it holds'), and it names the sibling that creates the draft, so an agent can tell it apart from flow_commit_contact_import or flow_get_contact_import without opening a 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?

It clearly explains the context: this discards a draft that has not been imported, and doing so frees a slot among the brand's 3 drafts. It does not explicitly tell the agent to use flow_commit_contact_import when the draft should be imported, or flow_delete_contacts when contacts already exist, so the alternatives are implied rather than stated.

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