Skip to main content
Glama

segments_pin

Cosmetic only — does not affect targeting or priority.

Method: POST /api/v1/workspaces/{workspace_sqid}/segments/{sqid}/pin/

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": {
      "sqid": "<sqid>",
      "name": "<name>"
    },
    "name": "segments_pin"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
sqidYes
pinnedNoPinned segments are shown in the main menu for quick access
priorityNoWhen lead is included in multiple lists with active campaigns, the one with the highest priority will be processed first.
descriptionNoProvide a concise profile covering key aspects: demographics (age, gender, income, education, occupation), geographic details (location, climate), psychographics (lifestyle, values, interests, motivations), behavioral traits (buying habits, usage patterns, brand loyalty), and specific needs or challenges.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries full burden, and it does disclose one valuable trait: the change is cosmetic and does not affect targeting or priority. However it omits the mutation semantics an agent needs — idempotency of repeated pins, permission/auth requirements, whether the pin persists across sessions, and what the response contains.

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?

Very short and front-loaded: the most decision-relevant caveat ('cosmetic only') comes first, followed by the endpoint. The Method line is compact and additive rather than filler, though the fragment lacks a subject.

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 no annotations, no output schema, five parameters, and an undocumented required 'name' field, the description does far too little. It should say what pinning does to the segment, whether repeat calls are safe, and how to reverse it via segments_unpin.

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

Parameters4/5

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

With 5 parameters at 60% coverage, the schema already documents pinned, priority, and description; the description adds no parameter detail at all. It does, however, clarify that the 'priority' and targeting fields are untouched by this operation, which prevents a plausible misreading of the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the action outright; the verb must be inferred from the tool name and the endpoint path 'POST .../segments/{sqid}/pin/'. The 'Cosmetic only — does not affect targeting or priority' clause frames the effect rather than naming the operation, and there is no explicit differentiation from segments_unpin beyond the path.

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?

No guidance on when to pin versus unpin, and no mention of the sibling segments_unpin that reverses this action. The 'cosmetic only' note implies low stakes but does not tell an agent under what circumstances to invoke it.

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.