Skip to main content
Glama

Generate a text card

generate_text_card
Idempotent

Generate a Text Card and companion comments from an accepted text_card quote using the account's Metravane AI credits. Returns structured card content, rendered card link, and Metravane AI link. 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_text_card"
  }
}

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.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the billing model (credits consumed only when the account owner's 'It may use my credits' setting is enabled, nothing charged otherwise), the external settings URL, and the exact return artifacts (card content, rendered card link, Metravane AI link). This is exactly the cost and auth context the readOnlyHint=false / openWorldHint=true annotations cannot convey.

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?

Front-loaded with the action and source, then the credit prerequisite, then the return values — a sensible information order. The embedded settings URL is long and slightly disrupts reading flow, but every sentence carries actionable content.

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 two-parameter, side-effecting tool with no output schema, the description covers prerequisites, cost implications, a diagnostic pointer (connection_status), and the shape of the response. Only failure-mode specifics when the setting is disabled are left implicit.

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 100%, so both parameters are already documented, including the quote_creative provenance and idempotency of operation_id. The description reinforces that accepted_credits is a quoted amount tied to an accepted quote but adds no new format, bounds, or mismatch-handling guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: generate a Text Card plus companion comments, sourced from an accepted text_card quote, using account AI credits. This is clearly distinguishable from a generic text generator, though it never names which sibling (e.g., generate_viral_text or generate_platform_variants) is the right alternative for other card/variant needs.

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?

Gives a clear trigger condition — you must already hold an accepted text_card quote — and routes the agent to connection_status to check the permission prerequisite. It stops short of explicit when-not guidance or naming a sibling to use when this tool does not apply.

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