Skip to main content
Glama
AudienseCo

Audiense Insights MCP Server

Official
by AudienseCo

get-categories

Retrieve available affinity categories to use when comparing audience influencers in Audiense Insights, enabling targeted marketing analysis.

Instructions

Retrieves the list of available affinity categories that can be used as the categories parameter in the compare-audience-influencers tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:178-192 (registration)
    Registers the 'get-categories' MCP tool, including its description, empty input schema, and inline handler function.
    server.tool(
        "get-categories",
        "Retrieves the list of available affinity categories that can be used as the categories parameter in the compare-audience-influencers tool.",
        {},
        async () => {
            return {
                content: [
                    {
                        type: "text",
                        text: JSON.stringify(CATEGORIES, null, 2),
                    },
                ],
            };
        }
    );
  • The inline async handler for 'get-categories' that returns the CATEGORIES data as a formatted JSON text response.
    server.tool(
        "get-categories",
        "Retrieves the list of available affinity categories that can be used as the categories parameter in the compare-audience-influencers tool.",
        {},
        async () => {
            return {
                content: [
                    {
                        type: "text",
                        text: JSON.stringify(CATEGORIES, null, 2),
                    },
                ],
            };
        }
    );
  • Defines the CATEGORIES constant, an array of category objects used by the get-categories tool handler.
    export const CATEGORIES = [
        { "label": "Airlines", "value": "Airlines" },
        { "label": "Alcohol", "value": "Alcohol" },
        { "label": "Apps", "value": "Apps" },
        { "label": "Beauty", "value": "Beauty" },
        { "label": "Beverages", "value": "Beverages" },
        { "label": "Black community", "value": "Black community" },
        { "label": "Books", "value": "Books" },
        { "label": "Business", "value": "Business" },
        { "label": "Celebrities", "value": "Celebrities" },
        { "label": "Climate Change", "value": "Climate Change" },
        { "label": "Computer Game", "value": "Computer Game" },
        { "label": "Conference", "value": "Conference" },
        { "label": "Corporate Social Responsibility", "value": "Corporate Social Responsibility" },
        { "label": "Culture", "value": "Culture" },
        { "label": "Ecommerce", "value": "Ecommerce" },
        { "label": "Education", "value": "Education" },
        { "label": "Electronics", "value": "Electronics" },
        { "label": "Entertainment", "value": "Entertainment" },
        { "label": "Erotic", "value": "Erotic" },
        { "label": "Events", "value": "Events" },
        { "label": "Family", "value": "Family" },
        { "label": "Fashion", "value": "Fashion" },
        { "label": "Finance", "value": "Finance" },
        { "label": "Fitness", "value": "Fitness" },
        { "label": "Food&drink", "value": "Food&drink" },
        { "label": "Fun", "value": "Fun" },
        { "label": "Gambling", "value": "Gambling" },
        { "label": "Gov officials & agencies", "value": "Gov officials & agencies" },
        { "label": "Healthcare", "value": "Healthcare" },
        { "label": "Hobbies and interest", "value": "Hobbies and interest" },
        { "label": "Household", "value": "Household" },
        { "label": "Internet", "value": "Internet" },
        { "label": "LGBTQ+", "value": "LGBTQ+" },
        { "label": "Magazines", "value": "Magazines" },
        { "label": "Media", "value": "Media" },
        { "label": "Motor", "value": "Motor" },
        { "label": "Movies", "value": "Movies" },
        { "label": "Music", "value": "Music" },
        { "label": "News", "value": "News" },
        { "label": "Newspapers", "value": "Newspapers" },
        { "label": "Night Life", "value": "Night Life" },
        { "label": "Non profits", "value": "Non profits" },
        { "label": "Online Show", "value": "Online Show" },
        { "label": "Pets", "value": "Pets" },
        { "label": "Place", "value": "Place" },
        { "label": "Politics", "value": "Politics" },
        { "label": "Professional Association", "value": "Professional Association" },
        { "label": "Radio", "value": "Radio" },
        { "label": "Religion", "value": "Religion" },
        { "label": "Restaurants&cafes", "value": "Restaurants&cafes" },
        { "label": "Science", "value": "Science" },
        { "label": "Services", "value": "Services" },
        { "label": "Shopping", "value": "Shopping" },
        { "label": "Society", "value": "Society" },
        { "label": "Sports", "value": "Sports" },
        { "label": "Technology", "value": "Technology" },
        { "label": "Telecom", "value": "Telecom" },
        { "label": "Top brands", "value": "Top brands" },
        { "label": "Travel", "value": "Travel" },
        { "label": "TV", "value": "TV" },
        { "label": "Blogs", "value": "Blogs" },
        { "label": "Facebook", "value": "Facebook" },
        { "label": "Instagram", "value": "Instagram" },
        { "label": "Journalist", "value": "Journalist" },
        { "label": "LinkedIn", "value": "LinkedIn" },
        { "label": "Medium", "value": "Medium" },
        { "label": "Pinterest", "value": "Pinterest" },
        { "label": "Podcasts", "value": "Podcasts" },
        { "label": "Snapchat", "value": "Snapchat" },
        { "label": "TikTok", "value": "TikTok" },
        { "label": "Twitch", "value": "Twitch" },
        { "label": "YouTube", "value": "YouTube" }
      ];
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It indicates this is a retrieval operation, implying it's likely read-only and non-destructive, but doesn't explicitly state permissions, rate limits, or error behavior. The description adds some context about how the output is used, but lacks detailed behavioral traits.

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?

The description is a single, well-structured sentence that efficiently conveys the tool's purpose and usage without any wasted words. It's front-loaded with the core action and resource.

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 simple, parameterless retrieval tool with no annotations or output schema, the description is reasonably complete. It explains what the tool does and how its output is used, though it could benefit from mentioning the return format or any limitations. The lack of output schema means the description doesn't need to cover return values.

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?

The tool has 0 parameters with 100% schema description coverage, so the schema fully documents the lack of inputs. The description doesn't need to add parameter information, but it does provide context about the output's purpose, which is valuable. Baseline for 0 parameters is 4.

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 clearly states the specific action ('Retrieves') and resource ('list of available affinity categories'), and explicitly distinguishes this tool from its sibling 'compare-audience-influencers' by explaining how the output is used. This goes beyond a basic definition to show the tool's role in the workflow.

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?

The description explicitly states when to use this tool: to get categories that 'can be used as the categories parameter in the compare-audience-influencers tool.' This provides clear guidance on its purpose relative to the sibling tool, though it doesn't mention other potential alternatives or exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AudienseCo/mcp-audiense-insights'

If you have feedback or need assistance with the MCP directory API, please join our Discord server