Skip to main content
Glama

Generate viral text

generate_viral_text
Idempotent

Generate the viral script and caption package from an accepted viral_text quote using the account's Metravane AI credits. Retries with the same operation_id are idempotent. Includes a quality_note field if the final quality check did not settle. Requires the account owner's “It may use my credits” setting enabled for this app at https://metravane.ai/en/kont/paramet?apps=1; no credits are charged when disabled. Current permission status is readable via connection_status.

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": {
      "operation_id": "<operation_id>",
      "accepted_credits": "<accepted_credits>"
    },
    "name": "generate_viral_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
operation_idYesThe operation_id returned by quote_creative (idempotent across retries).
accepted_creditsYesThe exact quoted credit amount accepted by the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (which already flag openWorld, non-destructive, idempotent), the description discloses that credits are actually consumed, that no credits are charged when the permission is disabled, that the permission lives at a specific settings URL, and that a quality_note field appears when the final quality check does not settle. These are real consequences an agent cannot infer from the structured fields.

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?

Four sentences, each carrying distinct information: what is produced, retry behavior, conditional quality_note, and the credit permission gate. It is front-loaded with the action and output. The settings URL is verbose but functional; otherwise there is no filler.

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 does most of the return-value work by naming the script/caption package and the conditional quality_note. It does not explain how to retrieve the finished artifact afterward (a get_creative_result sibling exists), which is the one remaining gap for an asynchronous credit-consuming generator.

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 operation_id and accepted_credits are already documented, including the quote_creative origin and idempotency. The description adds only the framing that the quote is an 'accepted viral_text quote' and ties the call to the credit balance; it does not add format, range, or failure semantics for accepted_credits. Baseline 3 is appropriate.

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 gives a specific verb and a precisely scoped output: it generates a 'viral script and caption package' from an 'accepted viral_text quote' using Metravane AI credits. That output shape (script + caption) is concrete enough to separate it from sibling generators such as generate_text_card or generate_platform_variants without opening their schemas.

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?

It states the precondition for use (account owner's "It may use my credits" setting must be enabled) and points at connection_status to check that status, which is actionable routing guidance. It also clarifies the retry policy (same operation_id is idempotent). It stops short of naming alternatives for other text-generation outcomes, so it is clear context rather than a full when/when-not map.

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