Skip to main content
Glama

UXON AI

segments_delete

DestructiveIdempotent

Before operating Revenuefly, read agent.instructions.get and follow its instructions. Delete the explicitly confirmed Segment, retaining Contacts. Read actual options and revision; estimates are not member/recipient lists. Does not activate Messaging.

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": {
      "siteId": "<siteId>",
      "segmentId": "<segmentId>",
      "expectedRevision": "<expectedRevision>",
      "idempotencyKey": "<idempotencyKey>",
      "confirm": "<confirm>"
    },
    "name": "segments_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYes
teamIdNoTarget organization ID from organizations_list. Applies to this request only.
confirmYesRequired for this high-impact action. Set to true only after the user has approved the action.
segmentIdYes
idempotencyKeyYesRequired unique request key for safe retries, for example client-action-2026-07-20-001.
expectedRevisionYes

Output Schema

NameRequiredDescriptionDefault
okNo
dataYesActual current unified-audience response uses audience, retaining its field names. Save can succeed with estimate_status error; never claim a current estimate in that case. Use returned updated_at as the next expectedRevision. Delete retains Contacts.
scopeYes
auditIdNo
commandYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety bar is lower, yet the description still adds real value: it states that Contacts are retained (what is NOT destroyed) and that Messaging is not activated (a side effect explicitly ruled out). It stops short of saying whether deletion is reversible or what happens to campaigns referencing the segment.

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

Conciseness3/5

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

The destructive action is stated early and the retention/Messaging facts are compact. But the opening instruction-redirect and the ambiguous "estimates are not member/recipient lists" clause add noise, and the sentence about options/revision is not clearly tied to any parameter.

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

Completeness3/5

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

With annotations covering the destructive/idempotent profile and an output schema present, the definition is close to sufficient for a high-impact delete. The remaining gap is operational: the need for a current expectedRevision (stale-revision behavior) and irreversibility are only gestured at, not stated.

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 50%: teamId, confirm and idempotencyKey are documented in the schema, while siteId, segmentId and expectedRevision are not. The phrase "Read actual options and revision; estimates are not member/recipient lists" hints that expectedRevision must come from a real read rather than an approximation, which is useful, but it is worded obscurely and explains nothing about siteId or segmentId.

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 core sentence "Delete the explicitly confirmed Segment, retaining Contacts" gives a specific verb and resource plus a scope nuance (contacts survive) that separates it from segments_update or segments_list. The purpose is identifiable, but the surrounding sentences (instruction preamble, "estimates are not member/recipient lists") dilute the front-loaded statement rather than sharpen it.

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?

"Explicitly confirmed" implies a precondition consistent with the required confirm flag, and "Does not activate Messaging" tells the agent this is not a send action. However, no alternative tool is named (e.g., segments_update for renaming, segments_get for inspection), so the agent must infer when deletion is the right choice versus a sibling.

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