Skip to main content
Glama

create_test_from_url

Copy a post link and test spin-offs of it. Saves the post as inspiration (same reading rules as add_inspiration; an Instagram Reel or post link works as a source, spin-offs are still written for the text networks), writes 2 to 5 new posts on the same idea in the workspace's own voice (its recent posts are read first; no dashes, 0 to 1 hashtag, no links or mentions, never a copy of the source), and creates one draft per variant. Drafts wait in the approval queue (list_approvals, approve_draft) unless the workspace turned on auto-schedule AND this connection may publish. Pass destination_url to give each variant its own tracked short link, so test_results can show clicks, signups and paid per variant. Each call uses the workspace's monthly AI allowance (get_ai_usage); a 429 means it is used up until the 1st, and the answer says where the workspace can add its own key. Returns the test with its variants and draft ids. CAPABILITY: draft: creates content that cannot reach an audience on its own. Safe for a draft-only agent token.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_test_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoLink to the post to spin off, e.g. https://x.com/name/status/1234567890. Omit when inspiration_id is given.
textNoText of the source post as the user copied it, for networks that do not share it (Threads, LinkedIn, other sites).
hook_idsNoUp to 5 hook ids from list_hooks. Some variants open with the same kind of first line, in new words.
networksNoNetworks to write for, up to 3. Default ["twitter"] (x is accepted as twitter). Text networks only: Instagram, TikTok and YouTube need a media file, so they are not offered.
variantsNoSpin-offs per network. Default 3.
directionNoOptional steer from the user in one sentence, e.g. "from the point of view of a solo founder".
account_idsNoIntegration ids from list_integrations to post from. Needed when the workspace has more than one account on a chosen network, otherwise approval is refused as ambiguous.
inspiration_idNoUse a post already saved (list_inspiration) instead of a URL.
destination_urlNohttps link every variant should send people to. Each variant gets its own tracked short link to it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / hook_ids
      Added value: +{
      +  "description": "Up to 5 hook ids from list_hooks. Some variants open with the same kind of first line, in new words.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Far beyond the annotations: it discloses content constraints (no dashes, 0-1 hashtag, no links or mentions, never a copy of the source), the workspace's-voice reading step, quota consumption and 429 semantics, the publish-gating rule, and the return payload (test, variants, draft ids). The closing CAPABILITY line marks it as draft-only-safe, which is exactly the kind of mutation-safety context readOnlyHint=false / destructiveHint=false does not 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 core action, then effects, gating, quota and return value in a deliberate order, with no filler sentences. It is dense and the first sentence is a long chained clause, which slightly hurts scannability, but every clause carries operational information.

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 9-parameter, non-idempotent creation tool with no output schema, the description covers input sourcing (url vs inspiration_id), constraints, side effects, approval routing, quota failure mode and return shape. Nothing an agent needs to call it correctly or to explain the result appears to be missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description goes further: destination_url is explained as generating one tracked short link per variant so test_results can attribute clicks, signups and paid; hook_ids is tied to shared opening lines; networks is constrained to text networks with the media-requiring platforms excluded. Those are cross-parameter consequences the schema text alone does not state.

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?

"Copy a post link and test spin-offs of it" names a specific verb and resource, and the description immediately decomposes it into three concrete effects (saves inspiration, writes 2-5 posts, creates one draft per variant). It explicitly anchors itself against add_inspiration ("same reading rules") and against downstream siblings (list_approvals, approve_draft, test_results), so an agent can place it in the workflow without opening other 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?

Strong conditional guidance: drafts sit in the approval queue unless auto-schedule is on AND the connection may publish; account_ids is required when a workspace has multiple accounts on a chosen network 'otherwise approval is refused as ambiguous'; 429 means the monthly allowance is exhausted until the 1st. What's missing is an explicit statement of when to prefer create_posts_from_source or create_drafts instead, so the alternative-selection rule is implied rather than stated.

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.