Skip to main content
Glama

Save an audience

save_audience

Save a campaign audience from the same filter set as search_audience (call that first to check the counts). Returns the audience id to pass to create_campaign. No outreach happens here, no credits.

Input Schema

NameRequiredDescriptionDefault
nameNoAudience name (auto-generated when omitted)
filtersYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • addedInput schema / properties / filters / properties / cities
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / companyKeywords
      Added value: +{
      +  "description": "Keywords matched in company description / name / position",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / companySizes
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "startup",
      +      "small",
      +      "medium",
      +      "large",
      +      "enterprise"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / countries
      Added value: +{
      +  "description": "Country names, e.g. [\"United Kingdom\",\"Germany\"]",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / exactKeyword
      Added value: +{
      +  "description": "Exact phrase (searchMode=exact)",
      +  "type": "string"
      +}
    • addedInput schema / properties / filters / properties / excludeCountries
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / excludedCities
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / excludedCompanySizes
      Added value: +{
      +  "items": {
      +    "enum": [
      +      "startup",
      +      "small",
      +      "medium",
      +      "large",
      +      "enterprise"
      +    ],
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / excludedIndustries
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / excludedPositions
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / language
      Added value: +{
      +  "description": "Approximate language segment by country set, e.g. \"russian\"",
      +  "type": "string"
      +}
    • addedInput schema / properties / filters / properties / maxAgeDays
      Added value: +{
      +  "description": "Only people added within the last N days",
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / filters / properties / position
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / filters / properties / positions
      Added value: +{
      +  "description": "Job titles / roles, e.g. [\"CEO\",\"Head of Sales\"]",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / filters / properties / searchMode
      Added value: +{
      +  "enum": [
      +    "keyword",
      +    "exact",
      +    "semantic"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / filters / properties / semanticQuery
      Added value: +{
      +  "description": "Free-text description of the ideal person (searchMode=semantic)",
      +  "type": "string"
      +}
    • addedInput schema / properties / filters / properties / tags
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / name / description
      Added value: +"Audience name (auto-generated when omitted)"
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description still discloses the two behaviors an agent would most worry about for a write tool: it sends nothing ('no outreach happens here') and costs nothing ('no credits'). It also names the return value. It does not say whether re-saving the same filters creates a duplicate audience or how persistence/naming collisions are handled.

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?

Two sentences, front-loaded with purpose, then prerequisite, then output destination and cost disclaimer. No filler, no restatement of the title.

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 filter-heavy creation tool with no output schema and no annotations, it covers the workflow, the non-side-effects, and the return value. The remaining gap is filter field semantics, which it mitigates by pointing at search_audience rather than enumerating fields.

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?

At 50% schema coverage and a deeply nested filters object of ~27 fields, most properties (city, tags, industries, searchMode, companySize, mustHave*) have no per-field docs. The description does compensate usefully by tying the filter shape to search_audience, implicitly deferring semantics to that tool, but it adds no field-level meaning itself; the auto-naming behavior of `name` lives only in the schema.

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 and resource ('Save a campaign audience') plus where the input comes from ('the same filter set as search_audience'). This cleanly separates it from search_audience (preview counts) and create_campaign (consumer of the returned id).

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

Usage Guidelines5/5

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

Gives an explicit prerequisite ('call that first to check the counts') and an explicit downstream step ('Returns the audience id to pass to create_campaign'). Also excludes a wrong expectation ('No outreach happens here'), so the agent knows this is not a launch step.

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