Skip to main content
Glama

Check a viral idea

get_viral_idea
Read-onlyIdempotent

Use this when the user picks one viral video or ad from list_viral_ideas and wants to know more: returns it, whether its analysis is ready and whether the user can make their own version of it (create_my_viral_version).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_id": "<item_id>",
      "language": "<language>"
    },
    "name": "get_viral_idea"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idYesThe id of a viral video or ad from list_viral_ideas.
languageYesfr, en, es or pt: the language of the analysis.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower, and the description still adds real context: the item's analysis may not be ready yet (implying asynchronous analysis) and a capability flag tells whether the user can produce their own version. It does not describe behavior for a stale or unknown item_id, but the added signal is meaningful beyond the annotations.

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?

It is a single dense sentence with the usage trigger front-loaded and the return contents enumerated after a colon. Every clause carries information, though the nested parenthetical makes it slightly harder to scan than a two-sentence split would be.

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?

There is no output schema, so the description must carry the return contract, and it does name the three things an agent should expect: the item itself, an analysis-readiness state, and a create-eligibility flag. What the item payload actually contains and how language affects the result remain unspecified, but nothing needed to decide to call the tool is missing.

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 the baseline is 3. The description reinforces that item_id originates from list_viral_ideas, which is a useful hint beyond the schema, but the language parameter and its effect on the returned analysis are never mentioned in the description.

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 states a specific action (fetch one item from list_viral_ideas and report its analysis readiness plus whether the user may create their own version), and it names both the upstream sibling (list_viral_ideas) and the downstream sibling (create_my_viral_version). An agent can distinguish this lookup from the listing tool and the creation tool without opening any schema.

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?

The trigger is explicit: use this when the user has already picked one item from list_viral_ideas and wants more detail, which also establishes the prerequisite call. It points to create_my_viral_version as the follow-up path. It does not state a when-not condition (e.g., use list_viral_ideas instead if the user has not chosen an item), which keeps it just short of a 5.

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.