Skip to main content
Glama

segments_enrichments_create_view

Builds a ViewConfig (saved column layout) whose columns are exactly the output fields produced by the segment's enrichments. Lets the user inspect enrichment results side-by-side in the leads table. Body {name} sets a display name; defaults to ' — enrichment output'. Returns {sqid, name} of the new view.

Method: POST /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/enrichments/create-view/

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_sqid": "<segment_sqid>"
    },
    "name": "segments_enrichments_create_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
segment_sqidYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose that this is a persisting create (mutation), the default display name, and the return shape `{sqid, name}`. It does not say whether the resulting columns are a snapshot or track later enrichment changes, whether repeats create duplicates or overwrite, or what errors occur when no enrichments exist.

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?

The description is front-loaded with the purpose, then defaults, then return value, with no filler sentences. The trailing 'Method: POST /api/v1/...' line is somewhat redundant for an agent already given the tool, but it is compact and clarifies nesting.

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

Completeness4/5

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

There is no output schema, so describing the `{sqid, name}` return is genuinely necessary and present, as is the default naming behavior. The remaining gap is the mismatch between the described `name` body field and the restrictive input schema, which an agent cannot resolve from this text alone.

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 0% and only segment_sqid appears in the schema, so the description's mention of a body `{name}` parameter and its default template adds real meaning. But that `name` property is absent from a schema declaring additionalProperties:false, and the path's workspace_sqid is likewise unrepresented, leaving the agent unsure how to actually supply the display name.

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 gives a specific verb and resource — 'Builds a ViewConfig (saved column layout) whose columns are exactly the output fields produced by the segment's enrichments' — and even parenthetically defines what a ViewConfig is. That distinguishes it clearly from siblings like workspaces_view_configs_list/retrieve (reading views) and segments_enrichments_run (producing enrichment data rather than viewing 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?

'Lets the user inspect enrichment results side-by-side in the leads table' conveys the motivating use case, which implies when to reach for it. However, there is no explicit prerequisite (that enrichments must already have run), no note on what happens if they haven't, and no naming of an alternative when a plain view is wanted.

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.