Skip to main content
Glama

get_audience_destination_schema

Read-onlyIdempotent

Discover the destination-side identifier fields and existing audiences for an activation-capable destination. Returns: { fields, audiences, mappingGuidance }. Use this before connect_audience_destination to know which destination-side audience to attach to and which fields are valid mapping targets.

Input Schema

NameRequiredDescriptionDefault
workspace_idYes
destination_idYesID from list_destinations. Must be an activation-capable destination (filter list_destinations with activation_capable=true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, openWorld, so the safety profile is covered. The description adds value beyond them by disclosing the response payload keys and the prerequisite sequencing relative to connect_audience_destination. It stops short of describing size/pagination of the audiences list or what happens for a non-activation destination.

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 return shape, then the routing instruction. No filler, no restatement of the title, and the most decision-relevant clause (use before connect_audience_destination) closes the description.

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?

With no output schema, the description helpfully enumerates the returned keys (fields, audiences, mappingGuidance) and the prerequisite workflow, which is enough for an agent to call it correctly. Minor gap: the shape of each returned item and the fact that workspace_id is required-but-unexplained are left unaddressed.

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 50%: destination_id is well documented in the schema (ID from list_destinations, must be activation_capable), but the description adds no meaning to it. workspace_id is undocumented in both places and the description does not compensate, so this sits at the baseline rather than above it.

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 ('Discover') and precise resource pair ('destination-side identifier fields and existing audiences') constrained to activation-capable destinations. It is clearly distinguishable from get_destination and get_destination_definitions, and the return shape is named up front.

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

Usage Guidelines4/5

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

Explicitly prescribes ordering: 'Use this before connect_audience_destination', and tells the agent why (to pick the destination-side audience and valid mapping targets). It does not name a when-not case or an alternative discovery tool, but the activation-capable qualifier implicitly bounds usage.

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