Skip to main content
Glama

Update segment

update_segment
Idempotent

Update a marketing segment (partial).

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": {
      "segment_id": "<segment_id>"
    },
    "name": "update_segment"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
segment_idYes
descriptionNo
filter_configNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destroyedHint=false, and openWorldHint=false, so the safety profile is supplied structurally. The description's one contribution is '(partial)', which usefully signals PATCH-style semantics where omitted fields are left unchanged. It says nothing about how the nested filter_config object is treated (merge vs. full replace), which is the main behavioral uncertainty for this mutation.

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?

At seven words the text is front-loaded and free of filler, so it is concise by any measure. But the brevity crosses into under-specification: the parenthetical '(partial)' is cryptic rather than informative, and the space saved buys no clarity.

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

Completeness2/5

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

For a mutation tool with four parameters, a nested object, zero schema description coverage, and no output schema, the description supplies almost nothing an agent needs to invoke it correctly. Only the partial-update semantics are conveyed; field-level meaning, nested-object handling, and result behavior are all absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across four parameters, so the schema itself explains nothing about name, description, filter_config, or segment_id. The description compensates only by implying that fields are optional ('partial'), leaving the nested filter_config object semantics and the meaning of segment_id entirely undocumented. That is well short of what a low-coverage, four-parameter mutation requires.

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 description pairs a specific verb ('Update') with a specific resource ('marketing segment'), so an agent knows the operation type immediately. It does not, however, distinguish this from siblings such as create_segment, delete_segment, or preview_segment, and the parenthetical '(partial)' is left unexplained.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus create_segment, delete_segment, or preview_segment, nor any mention of prerequisites such as read-before-write or required permissions. The only contextual hint is '(partial)', which gestures at partial updates without stating the condition that selects this tool over any alternative.

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