Skip to main content
Glama

Metadata MCP Connector

Create Audience from Segment

create_audience_from_segment

Create a dynamic Insights Retargeting audience from a saved Insights (Spotlight) segment: the companies matching the segment inside a lookback window, refreshed automatically as the journey data changes.

Input Schema

NameRequiredDescriptionDefault
nameYesName for the new audience. Unique and descriptive, e.g. 'Exclude: 200+ LinkedIn impressions, 90d'.
segment_idYesThe id of a READY segment from list_segments / create_segment.
audience_typeNocontacts (default): people at the matching accounts, multi-channel. accounts: the matching companies as a LinkedIn matched audience, LinkedIn only; use it for account-level LinkedIn exclusions.
lookback_windowYesDays the segment is evaluated over. Range 1 to 365. 30 for the last month, 90 for the last quarter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only declare the write/safety profile (readOnly=false, destructive=false, openWorld=true). The description adds genuinely useful behavior beyond that: the audience is dynamic and 'refreshed automatically as the journey data changes', and it is scoped by a lookback window — key facts for an agent deciding whether a live-syncing audience is appropriate. It omits credit cost, rate limits, and what happens if the segment is not yet READY.

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?

A single front-loaded sentence with the action and resource first, then a colon introducing the mechanics. Every clause — dynamic, lookback window, auto-refresh — carries information the caller needs; nothing is padding.

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?

For a non-destructive create tool with no output schema and fully documented parameters, the description covers what is produced, how it stays current, and how it is scoped. It stops short of saying what identifier is returned or whether segment readiness is validated at call time.

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 description coverage is 100%, so all four parameters are already documented, including the audience_type enum trade-off and the 1–365 lookback range. The description reinforces that lookback defines the evaluation window and the audience is company-derived, but adds no new syntax or format detail. Baseline 3 applies.

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?

States a specific verb and a precisely qualified resource: a dynamic Insights Retargeting audience built from a saved Insights (Spotlight) segment. That qualification separates it from the many other create_*audience siblings (firmographic, technographic, G2 intent, CSV upload), though no sibling is named explicitly.

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?

Usage is implied by 'from a saved Insights (Spotlight) segment' — an agent can infer the prerequisite is an existing segment, and the schema reinforces this by requiring a READY segment id from list_segments / create_segment. However, the description names no alternatives (e.g. create_retargeting_audience, create_segment) and states no when-not conditions.

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