Skip to main content
Glama

Save the previewed influencer

save_influencer
Idempotent

Use this when the user likes a preview from create_influencer_preview and has given it a name. Saves it as a new influencer, ready for generate_photos and generate_video at once (those need an active plan). Uses one of the account's new-influencer slots (create_influencer_preview says how many are left, or, without a plan, that this is the account's one saved influencer); say so before calling. A preview can be saved for about an hour. Saving the same preview again returns the same influencer.

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": {
      "preview_id": "<preview_id>",
      "name": "<name>"
    },
    "name": "save_influencer"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesThe influencer's name, as the user gives it.
preview_idYesFrom create_influencer_preview.

Output Schema

NameRequiredDescriptionDefault
okNoPresent only on a refusal: the summary says why, and what the user can do.
nameNo
summaryYes
view_urlNo
error_codeNoPresent only on a refusal.
slots_leftNo
already_savedNo
influencer_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover the safety profile (non-destructive, idempotent, not read-only), and the description adds genuine context beyond them: the call consumes one of the account's new-influencer slots, previews expire after roughly an hour, and resaving a preview yields the same influencer. The slot-consumption side effect in particular is a cost the agent could not learn from any structured field.

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, front-loaded with the trigger condition and zero filler. The slot sentence is somewhat dense with nested clauses (plan vs. no-plan, who reports the count), but every statement carries operational meaning.

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?

For a two-parameter creation tool with an output schema, the description supplies everything the agent needs beyond structured data: preconditions, cost, time limit, idempotency semantics, and follow-up tools. Return values are correctly left to the output schema.

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%, with both `name` and `preview_id` already documented in the schema. The description reinforces provenance ('as the user gives it', 'From create_influencer_preview') but adds no format, constraint, or edge-case detail the schema does not already carry, so the baseline of 3 is correct.

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?

States a specific verb and resource ('Saves it as a new influencer') and anchors it to the producing sibling ('a preview from create_influencer_preview'). An agent can distinguish it from create_influencer_preview (which makes previews) and from update_influencer (which modifies existing ones) 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives the exact trigger condition (user likes a preview and has supplied a name) and the downstream alternatives that require the saved result (generate_photos, generate_video, with the caveat that those need an active plan). It also states a required conversational obligation ('say so before calling'), leaving nothing to inference.

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