Skip to main content
Glama

Prepare a trend for Create

prepare_trend
Idempotent

Gets a trend idea ready to post and returns the prefilled Create form (idea text, hashtags, recommended format and size). If ready is false, wait retry_after_seconds and call again. Free; it does not make the post.

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": {
      "assignment_id": "<assignment_id>"
    },
    "name": "prepare_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
brand_idNoOptional business id from list_brands (default: this connection's business).
assignment_idYesThe assignment id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, but the description adds genuinely new context: the call is free, it does not create the post, and it may return ready=false requiring a retry. What remains undisclosed is what server-side state 'preparing' changes, which matters given readOnlyHint=false.

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 tight sentences: purpose and returned payload first, then the polling loop and the no-side-effect guarantee. Nothing is redundant, and the most decision-relevant facts are front-loaded.

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?

With no output schema, the description correctly takes on the burden of describing return values, and it also covers the asynchronous retry path. A brief note on what happens to the assignment state (since the tool is not read-only) would close the last gap.

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 brand_id and assignment_id are already fully documented in the schema, including the default behavior for brand_id. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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?

The description uses a specific verb and resource ('Gets a trend idea ready to post') and enumerates what the returned Create form contains (idea text, hashtags, format, size). It does not explicitly contrast itself with siblings like get_trend or save_trend, so an agent must infer the boundary, but the operation itself is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the name and the return value, and the description gives an explicit polling rule ('If ready is false, wait retry_after_seconds and call again'), which is real when-to-call guidance. However, it names no alternatives and gives no exclusion criteria for choosing this over get_trend or save_trend.

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