Skip to main content
Glama

Trillboards DOOH Advertising

search_content

Semantic search over content library using natural language queries and 768-D pgvector embeddings.

WHEN TO USE:

  • Finding content by description or theme ("upbeat music videos", "cooking shows")

  • Discovering content similar to a concept or mood

  • Searching the content library without knowing exact titles or IDs

  • Content discovery for programmatic content scheduling

RETURNS:

  • data: Array of matching content with similarity scores

    • videoId, title, contentCategory, description, durationSeconds

    • reviewStatus (approved/pending/rejected)

    • similarity (0-1, cosine similarity against query embedding)

  • meta: { count, query, limit, minSimilarity }

EXAMPLE: User: "Find fitness and workout content" search_content({ query: "fitness workout exercise gym", limit: 10, min_similarity: 0.6 })

User: "Search for calming nature content suitable for medical offices" search_content({ query: "calming nature scenes peaceful landscapes meditation", min_similarity: 0.5 })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum results to return (default: 20, max: 100)
queryYesNatural language search query (min 3 characters)
min_similarityNoMinimum cosine similarity threshold (default: 0.5, range: 0-1)

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 carries full responsibility for behavioral disclosure. It details return structure (data array with fields, meta object, similarity score) and provides example queries. While it does not explicitly mention read-only status or side effects, the search semantics and output specifics give adequate transparency for this tool.

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 well-organized with clear sections (WHEN TO USE, RETURNS, EXAMPLE) and front-loads the core purpose. It is slightly lengthy due to two example calls, but every section contributes useful information without redundancy.

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

Completeness5/5

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

Given the absence of an output schema, the description compensates thoroughly by specifying the exact return fields and meta structure. It provides usage guidance, parameter examples, and behavioral context. The tool is a straightforward search, so this description leaves no significant gaps for an agent to invoke it correctly.

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?

Schema coverage is 100%, so the baseline is 3. The description adds meaning by showing examples that combine query, limit, and min_similarity, and by linking similarity to cosine distance in the return section. This reinforces how parameters behave beyond the schema's basic descriptions.

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 opens with a specific verb and resource: 'Semantic search over content library using natural language queries and 768-D pgvector embeddings.' This clearly distinguishes it from sibling tools like semantic_audience_search and semantic_search_observations by focusing on the content library. The 'WHEN TO USE' section further reinforces the intended use cases.

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?

A dedicated 'WHEN TO USE' section lists four concrete scenarios, such as finding content by description or discovering similar content without exact IDs. It does not explicitly name alternatives or state when not to use, but the context is clear enough to guide selection among siblings.

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.

TDQS

B3.3/5.0
Disambiguation2/5

There are exact duplicates (get_task_status/tasks_get, list_tasks/tasks_list) and several overlapping analytics, attribution, and semantic search clusters (get_attention_metrics vs get_creative_attention vs get_social_attention; find_similar_moments vs semantic_search_observations; get_campaign_attribution vs get_multi_touch_attribution vs get_roas). Detailed descriptions help, but with 83 tools an agent will frequently struggle to pick the right one.

Naming Consistency3/5

Most tools follow a snake_case verb_noun pattern (list_devices, create_campaign, delete_webhook), but there are notable inconsistencies: list_* and get_* are used interchangeably for list operations, attention tools mix conventions (get_attention_metrics vs get_creative_attention vs get_social_attention), and the legacy tasks_get/tasks_list names break the established get_task_status/list_tasks pattern.

Tool Count1/5

83 tools is an extreme count for a single MCP server, spanning device management, sensing, campaigns, media buys, attribution, webhooks, billing, API discovery, and AdCP protocol concerns. This is a broad API surface dump rather than a focused tool set, and it would be far better split into several coherent servers.

Completeness2/5

Despite the enormous surface, core campaign lifecycle is incomplete: create_campaign explicitly tells the agent to use update_campaign to activate a campaign, but no update_campaign tool exists, and there are no list/delete campaign tools. Significant capabilities exist for analytics, attribution, and webhooks, but the primary advertising workflow has a dead end.

Resources