Skip to main content
Glama

remix_hook

Archived source-free remix writer. Use research_hook_evidence instead. Always fails before rewriting, model, storage, or billing work. An extracted source hook cannot be replaced by generated or paraphrased copy. Errors: unauthorized; invalid_request with reason unsourced_hook_generation_archived.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNo1-5 lowercase slug tags ([a-z0-9_-], <=40 chars) stamped on this call's usage event so a fleet can attribute spend per campaign. Omit for no tagging. Filter later with get_usage(tag=...) / list_hooks(tag=...).
textNoThe existing hook to rewrite, 3-300 chars. Its subject is kept; only the angle moves to target_archetype. Pass this OR `hook_id`, never both and never neither.
countNoArchived compatibility count, 1-5. Remix fails before work or customer charge.
topicNoThe subject the hook was written FOR, scored as on score_hook: the verbatim-echo penalty only fires when the scorer is told the topic, so a hook (or a variant) that repeats its own subject scores up to 8 points higher without it and the rank order of the pack can differ. Only needed with `text`: a remix by `hook_id` reads the topic off the hook you bought. Sending both is fine when they are equal and a disagreement is a typed invalid_request rather than a silent winner. Omit for unchanged behaviour.
api_keyNoAPI key for this call. Omit to fall back to the Authorization: Bearer / X-API-Key request header (streamable-HTTP only), then the VHGENGINE_API_KEY env var (the stdio default). No key resolvable -> unauthorized.
hook_idNoRemix a hook you ALREADY bought, by the id a generate/batch/remix response returned (also listed by list_hooks): the stored text is looked up for you, so you do not have to carry it back. Account-scoped, so an unknown or foreign id is the same not_found get_hook returns. Pass this OR `text`, never both and never neither.
platformNoThe platform whose SCORING WINDOW grades these variants, as on generate_hooks and score_hook: LinkedIn's ideal hook length is 10-18 words against 8-14 elsewhere, so it moves both score.total and the rank order. Each variant's total is then reproducible through score_hook with the SAME platform, and the scale used is echoed back as `platform`. Omit for tiktok (unchanged behaviour).
archetypeNoAlias for `target_archetype`, spelled the way every hook object in every response spells it. Send either one; sending both is fine only if they are equal, and a disagreement is a typed invalid_request rather than a silent winner.
verbosityNoHow much of the response envelope to return: minimal (identity, text, score total/source, money, honesty warnings, and any persona/shape), standard (the default, including hook receipts), full (adds per-dimension score numbers, notes, and attribution). A failing phone_test survives minimal; passing phone_test, say_it, and pattern_source are standard/full detail. Shapes the RESPONSE only, never what is generated, persisted, hashed for idempotency, or charged.standard
idempotency_keyNoCaller-chosen replay key (any string, unique per intended effect). A repeat call with the SAME key returns the stored result and is NEVER charged twice; the same key with different arguments is an idempotency_conflict. Omit and every call is a fresh, separately charged operation.
target_archetypeNoArchetype id to rewrite INTO (see list_archetypes for ids and their psychology). `archetype` is an accepted alias for this argument; one of the two is required, there is no default angle.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
reasonNoWhy these rewrites fit the target archetype, or null.
remixesNoThe variants: {id, text, archetype, score, rank}. Billed per variant RETURNED, so this can be shorter than count.
originalNo{text, score} of what you passed in.
platformNoThe platform scoring window every total above was produced on. Score a variant through score_hook with this SAME platform to reproduce its number; a different window gives a different total and a different rank. null when the request named none, which means the tiktok default.
replayedNotrue when an idempotency_key replayed a stored result, so nothing was charged again. The credits_charged below is what the ORIGINAL call cost.
request_idNoId of this call. Keep it: get_usage(request_id=...) itemises exactly what it charged, and it identifies the call in a support question.
topic_coreNoThe subject the remixer preserved from the original.
llm_fallbackNotrue when the LLM remixer was unavailable and the deterministic one ran; llm_fallback_reason says why. You are billed for what RAN.
remix_engineNoWhich remixer produced the variants.
credits_chargedNoCredits this call actually cost.
score_disclaimerNoThe honest limits of the score attached above.
credits_remainingNoYour balance AFTER this charge.
replayed_at_chargeNotrue when the replay was detected at the charge boundary rather than up front; either way you are billed exactly once.
llm_fallback_reasonNoWhy the fallback happened, or null.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / count / description
      Previous value: -"How many variants to produce, 1-5, at 2 credits each. You are billed only for variants actually returned."New value: +"Archived compatibility count, 1-5. Remix fails before work or customer charge."
    • changedOutput schema / description
      Previous value: -"The original plus its rewrites into the target archetype. 2 credits per variant."New value: +"Archived remix compatibility shape. The writer fails before work or charge."
  2. Changed1 schema field changed
    • changedInput schema / properties / verbosity / description
      Previous value: -"How much of the response envelope to return: minimal (ids/text/totals only), standard (the default), full (adds per-dimension score attribution and timings). Shapes the RESPONSE only, never what is generated, persisted, hashed for idempotency, or charged."New value: +"How much of the response envelope to return: minimal (identity, text, score total/source, money, honesty warnings, and any persona/shape), standard (the default, including hook receipts), full (adds per-dimension score numbers, notes, and attribution). A failing phone_test survives minimal; passing phone_test, say_it, and pattern_source are standard/full detail. Shapes the RESPONSE only, never what is generated, persisted, hashed for idempotency, or charged."
  3. Changed25 schema fields changed
    • addedInput schema / properties / api_key / description
      Added value: +"API key for this call. Omit to fall back to the Authorization: Bearer / X-API-Key request header (streamable-HTTP only), then the VHGENGINE_API_KEY env var (the stdio default). No key resolvable -> unauthorized."
    • addedInput schema / properties / archetype
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "curiosity_gap",
      +        "contrarian",
      +        "data_shock",
      +        "story",
      +        "transformation",
      +        "listicle",
      +        "authority",
      +        "urgency"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Alias for `target_archetype`, spelled the way every hook object in every response spells it. Send either one; sending both is fine only if they are equal, and a disagreement is a typed invalid_request rather than a silent winner.",
      +  "enum": [
      +    "curiosity_gap",
      +    "contrarian",
      +    "data_shock",
      +    "story",
      +    "transformation",
      +    "listicle",
      +    "authority",
      +    "urgency",
      +    null
      +  ],
      +  "title": "Archetype"
      +}
    • addedInput schema / properties / count / description
      Added value: +"How many variants to produce, 1-5, at 2 credits each. You are billed only for variants actually returned."
    • addedInput schema / properties / hook_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 64,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Remix a hook you ALREADY bought, by the id a generate/batch/remix response returned (also listed by list_hooks): the stored text is looked up for you, so you do not have to carry it back. Account-scoped, so an unknown or foreign id is the same not_found get_hook returns. Pass this OR `text`, never both and never neither.",
      +  "maxLength": 64,
      +  "title": "Hook Id"
      +}
    • addedInput schema / properties / idempotency_key / description
      Added value: +"Caller-chosen replay key (any string, unique per intended effect). A repeat call with the SAME key returns the stored result and is NEVER charged twice; the same key with different arguments is an idempotency_conflict. Omit and every call is a fresh, separately charged operation."
    • addedInput schema / properties / platform
      Added value: +{
      +  "anyOf": [
      +    {
      +      "enum": [
      +        "tiktok",
      +        "instagram",
      +        "youtube",
      +        "x",
      +        "linkedin"
      +      ],
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The platform whose SCORING WINDOW grades these variants, as on generate_hooks and score_hook: LinkedIn's ideal hook length is 10-18 words against 8-14 elsewhere, so it moves both score.total and the rank order. Each variant's total is then reproducible through score_hook with the SAME platform, and the scale used is echoed back as `platform`. Omit for tiktok (unchanged behaviour).",
      +  "enum": [
      +    "tiktok",
      +    "instagram",
      +    "youtube",
      +    "x",
      +    "linkedin",
      +    null
      +  ],
      +  "title": "Platform"
      +}
    • changedInput schema / properties / tags / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "maxLength": 40,
      -      "minLength": 1,
      -      "pattern": "^[a-z0-9_-]+$",
      -      "type": "string"
      -    },
      -    "maxItems": 5,
      -    "minItems": 1,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "maxLength": 40,
      +      "minLength": 1,
      +      "pattern": "^[a-z0-9_-]+$",
      +      "type": "string"
      +    },
      +    "maxItems": 5,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / tags / description
      Added value: +"1-5 lowercase slug tags ([a-z0-9_-], <=40 chars) stamped on this call's usage event so a fleet can attribute spend per campaign. Omit for no tagging. Filter later with get_usage(tag=...) / list_hooks(tag=...)."
    • addedInput schema / properties / tags / items
      Added value: +{
      +  "maxLength": 40,
      +  "minLength": 1,
      +  "pattern": "^[a-z0-9_-]+$",
      +  "type": "string"
      +}
    • addedInput schema / properties / tags / maxItems
      Added value: +5
    • addedInput schema / properties / target_archetype / anyOf
      Added value: +[
      +  {
      +    "enum": [
      +      "curiosity_gap",
      +      "contrarian",
      +      "data_shock",
      +      "story",
      +      "transformation",
      +      "listicle",
      +      "authority",
      +      "urgency"
      +    ],
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / target_archetype / default
      Added value: +null
    • addedInput schema / properties / target_archetype / description
      Added value: +"Archetype id to rewrite INTO (see list_archetypes for ids and their psychology). `archetype` is an accepted alias for this argument; one of the two is required, there is no default angle."
    • changedInput schema / properties / target_archetype / enum
      Previous value: -[
      -  "curiosity_gap",
      -  "contrarian",
      -  "data_shock",
      -  "story",
      -  "transformation",
      -  "listicle",
      -  "authority",
      -  "urgency"
      -]New value: +[
      +  "curiosity_gap",
      +  "contrarian",
      +  "data_shock",
      +  "story",
      +  "transformation",
      +  "listicle",
      +  "authority",
      +  "urgency",
      +  null
      +]
    • removedInput schema / properties / target_archetype / type
      Removed value: -"string"
    • addedInput schema / properties / text / anyOf
      Added value: +[
      +  {
      +    "maxLength": 300,
      +    "minLength": 3,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / text / default
      Added value: +null
    • addedInput schema / properties / text / description
      Added value: +"The existing hook to rewrite, 3-300 chars. Its subject is kept; only the angle moves to target_archetype. Pass this OR `hook_id`, never both and never neither."
    • removedInput schema / properties / text / type
      Removed value: -"string"
    • addedInput schema / properties / topic
      Added value: +{
      +  "anyOf": [
      +    {
      +      "maxLength": 200,
      +      "minLength": 3,
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "The subject the hook was written FOR, scored as on score_hook: the verbatim-echo penalty only fires when the scorer is told the topic, so a hook (or a variant) that repeats its own subject scores up to 8 points higher without it and the rank order of the pack can differ. Only needed with `text`: a remix by `hook_id` reads the topic off the hook you bought. Sending both is fine when they are equal and a disagreement is a typed invalid_request rather than a silent winner. Omit for unchanged behaviour.",
      +  "maxLength": 200,
      +  "minLength": 3,
      +  "title": "Topic"
      +}
    • addedInput schema / properties / verbosity / description
      Added value: +"How much of the response envelope to return: minimal (ids/text/totals only), standard (the default), full (adds per-dimension score attribution and timings). Shapes the RESPONSE only, never what is generated, persisted, hashed for idempotency, or charged."
    • removedInput schema / required
      Removed value: -[
      -  "text",
      -  "target_archetype"
      -]
    • addedOutput schema / description
      Added value: +"The original plus its rewrites into the target archetype. 2 credits per variant."
    • addedOutput schema / properties
      Added value: +{
      +  "credits_charged": {
      +    "description": "Credits this call actually cost.",
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "credits_remaining": {
      +    "description": "Your balance AFTER this charge.",
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "llm_fallback": {
      +    "description": "true when the LLM remixer was unavailable and the deterministic one ran; llm_fallback_reason says why. You are billed for what RAN.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "llm_fallback_reason": {
      +    "description": "Why the fallback happened, or null.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "original": {
      +    "description": "{text, score} of what you passed in.",
      +    "type": [
      +      "object",
      +      "null"
      +    ]
      +  },
      +  "platform": {
      +    "description": "The platform scoring window every total above was produced on. Score a variant through score_hook with this SAME platform to reproduce its number; a different window gives a different total and a different rank. null when the request named none, which means the tiktok default.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "reason": {
      +    "description": "Why these rewrites fit the target archetype, or null.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "remix_engine": {
      +    "description": "Which remixer produced the variants.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "remixes": {
      +    "description": "The variants: {id, text, archetype, score, rank}. Billed per variant RETURNED, so this can be shorter than count.",
      +    "type": [
      +      "array",
      +      "null"
      +    ]
      +  },
      +  "replayed": {
      +    "description": "true when an idempotency_key replayed a stored result, so nothing was charged again. The credits_charged below is what the ORIGINAL call cost.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "replayed_at_charge": {
      +    "description": "true when the replay was detected at the charge boundary rather than up front; either way you are billed exactly once.",
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  },
      +  "request_id": {
      +    "description": "Id of this call. Keep it: get_usage(request_id=...) itemises exactly what it charged, and it identifies the call in a support question.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "score_disclaimer": {
      +    "description": "The honest limits of the score attached above.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "topic_core": {
      +    "description": "The subject the remixer preserved from the original.",
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  }
      +}
    • removedOutput schema / title
      Removed value: -"remix_hookDictOutput"
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and discloses that the tool always fails before any work, never charges, and returns specific errors ('unauthorized; invalid_request with reason unsourced_hook_generation_archived'). This is fully transparent regarding the tool's guaranteed failure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences front-load the core facts (archived, fail, alternative) and then list the error conditions. Every sentence serves a purpose with zero wasted words.

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 that the tool always fails, the description fully covers behavior, errors, and the recommended replacement. The output schema exists, so return-value details are unnecessary. The context is complete for any agent evaluating this tool.

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?

The input schema already provides exhaustive descriptions for all 11 parameters (100% coverage), so the tool description does not need to add parameter-level detail. The description adds no parameter-specific semantics, but the schema fully compensates, so the baseline of 3 applies.

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 immediately establishes the tool as an 'Archived source-free remix writer' and states it 'Always fails before rewriting, model, storage, or billing work.' This clearly signals it is a deprecated, non-functional tool and differentiates it from the recommended research_hook_evidence alternative.

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?

Explicitly instructs the agent to 'Use research_hook_evidence instead' and notes the tool 'Always fails,' making it unambiguous that this tool should never be invoked. The alternative is named, and the failure behavior is stated up front.

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