Skip to main content
Glama

Detach Brand From Segment Tool

detach-brand-from-segment-tool
DestructiveIdempotent

Detach a brand from a segment. Idempotent: detaching a brand that is not attached succeeds without change. Both the brand and the segment must belong to the same project. Membership is what makes a brand a competitor, so detaching one from its only segment stops tracking it and it derives back to discovered, returning to the discover pool with its mention history intact. The own brand is implicit in every segment and cannot be detached.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
brand_idYesThe numeric id of the brand.
segment_idYesThe numeric id of the segment to detach.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it explains the semantic side effect (membership is what makes a brand a competitor, so detaching removes tracking and reverts the brand to `discovered` with mention history intact). It also states idempotency semantics and the own-brand restriction, none of which the annotations convey.

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?

Four tightly packed sentences, front-loaded with the action, then idempotency, constraint, and side effect in order of importance. No filler; every sentence contributes decision-relevant information.

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 mutation with no output schema, the description supplies the side effects, idempotency, and validity constraints an agent needs. Nothing required to invoke it correctly appears to be 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 coverage is 100% and both parameters are documented in the schema. The description adds relational constraints (same-project requirement) but no syntax or format detail beyond the schema; baseline 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?

States a specific verb+resource ('Detach a brand from a segment') that directly and unambiguously distinguishes it from the sibling attach-brand-to-segment-tool. An agent can select it without opening the 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?

Provides concrete preconditions ('both the brand and the segment must belong to the same project') and a hard exclusion ('the own brand is implicit in every segment and cannot be detached'). It does not explicitly route to the attach counterpart, but the usage context is clear.

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