Skip to main content
Glama

Create a hook test

create_hook_test

Start a hook test: publish several openings for the same idea and measure which one holds attention on this account. THIS SCHEDULES REAL POSTS — one per variant per round, spaced out over days — so confirm with the person before calling it. Results become the rules that list_hook_rules and check_draft read, which stay empty until a test concludes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ideaYesThe single idea every variant expresses. Only the opening should differ.
titleYesShort name for the test, e.g. 'Hook style — scheduling posts'.
roundsNoHow many times each variant is posted. Defaults to 3. Fewer than 2 cannot conclude.
variantsYes2-4 opening lines to compare. Same idea, genuinely different openings.
accountIdYesAccount id from list_connections to run the test on.
archetypesYesOne archetype per variant, in the same order: question, contrarian, number, story or direct. This is not a label — it decides the rule the test can produce, and the opening must actually match it (question ends with '?', number starts with a figure, contrarian starts with stop/nobody/everyone/most/forget/unpopular/the reason, story starts with I/we/last/yesterday/when I/my client).
slotHourUtcNoHour of day (UTC) to post at. Defaults to 18.
spacingDaysNoDays between posts. Defaults to 3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only mark it non-read-only, open-world, non-idempotent and non-destructive; the description goes much further by disclosing that it schedules REAL posts across multiple days, the posting cadence (one per variant per round), and the side effect that list_hook_rules/check_draft stay empty until the test concludes. That is precisely the context a mutation tool needs.

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?

Two sentences, front-loaded with the action, then the critical warning in caps, then the downstream consequence. Every clause carries information and nothing is padding.

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 an 8-param scheduling mutation with no output schema, the description covers the action, the side effects, the human-in-the-loop requirement, and where results surface. Combined with the fully documented schema, an agent has everything needed to call it correctly.

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 the schema already documents all 8 parameters in detail, including the archetype-to-opening-matching rules. The description adds only the high-level shape ('several openings for the same idea') without new syntax or constraint detail, so the baseline 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?

States a specific verb (start a hook test) plus the mechanism (publish several openings for the same idea, measure which holds attention) and names the downstream consumers (list_hook_rules, check_draft). Clearly separable from siblings like schedule_post or list_posts.

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?

Explicitly requires human confirmation before calling ('confirm with the person before calling it') and explains that results only materialize after the test concludes. It does not, however, name the alternative tool (schedule_post) for the case where a single ordinary post is wanted, so routing vs. that sibling is left 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.