Skip to main content
Glama

generate_ideas

Read-only

Generate 1–7 structured video concepts from a topic, with hook, genre, aspect ratio, theme, and slide blueprint. Choose offline template or LLM mode for brainstorming.

Instructions

Generate 1..7 structured video concepts for a topic (hook, genre, aspect ratio, theme, slide blueprint). Mode 'template' is offline and deterministic. Modes 'ollama', 'cloud' and 'deepseek' call an LLM and return an error if the backend or API key is missing (no silent fallback to templates). Read-only: writes nothing to disk. Returns {ok, source, topic, lang, ideas}. Use it for brainstorming from a topic; for an existing deck use critique_deck. Pass a returned idea object to idea_to_deck to create a deck.

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": {
      "topic": "<topic>"
    },
    "name": "generate_ideas"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoTarget language for hooks and slide copy (ru or en)ru
modeNoGeneration backend: 'template' (offline), 'ollama' (local LLM), 'cloud' or 'deepseek' (remote LLM, needs API key). LLM modes fail with an error instead of falling back to templates.template
countNoNumber of video concepts to generate (1..7)
genreNoIdea genre filter (e.g. all, versus_battle, deep_dive, product_launch)all
topicYesTopic, product name, or short brief

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • changedInput schema / properties / mode / description
      Previous value: -"Generation backend: offline template, local Ollama, or cloud LLM (fail-closed)"New value: +"Generation backend: 'template' (offline), 'ollama' (local LLM), 'cloud' or 'deepseek' (remote LLM, needs API key). LLM modes fail with an error instead of falling back to templates."
    • changedInput schema / properties / mode / enum
      Previous value: -[
      -  "template",
      -  "ollama",
      -  "cloud"
      -]New value: +[
      +  "template",
      +  "ollama",
      +  "cloud",
      +  "deepseek"
      +]
  2. Changed6 schema fields changedv0.1.1
    • addedInput schema / properties / count / description
      Added value: +"Number of video concepts to generate (1..7)"
    • addedInput schema / properties / count / maximum
      Added value: +7
    • addedInput schema / properties / count / minimum
      Added value: +1
    • addedInput schema / properties / genre / description
      Added value: +"Idea genre filter (e.g. all, versus_battle, deep_dive, product_launch)"
    • addedInput schema / properties / lang / description
      Added value: +"Target language for hooks and slide copy (ru or en)"
    • addedInput schema / properties / mode / description
      Added value: +"Generation backend: offline template, local Ollama, or cloud LLM (fail-closed)"
  3. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly/destructive/openWorld/idempotent; the description adds the failure contract that annotations cannot express — LLM modes error out when the backend or API key is missing, with no silent fallback to templates, and 'template' mode is offline and deterministic. It also confirms nothing is written to disk and spells out the return envelope {ok, source, topic, lang, ideas}, so an agent knows exactly how to detect failure.

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 capability and count, then behavior, then routing — the ordering is agent-friendly and each sentence has a job. The one weak spot is the mode sentence, which restates schema-documented enum behavior and could be shortened to the failure semantics alone.

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?

No output schema exists, and the description compensates by naming the return shape and its fields. For a 5-parameter, two-enum tool with an external-backend dependency, it covers capability, failure modes, side effects, and next-step wiring — nothing material is missing.

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% and the enum/range semantics for mode and count are already documented in the schema descriptions nearly verbatim, so the description's mode sentence is largely redundant rather than additive. Genre is named as a filter but no values or matching behavior are explained beyond the schema's examples. Baseline 3 is appropriate when the schema carries the parameter burden.

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+resource ("Generate 1..7 structured video concepts for a topic") and enumerates the exact output fields (hook, genre, aspect ratio, theme, slide blueprint). It also names two siblings (critique_deck, idea_to_deck) with the conditions that select them, 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 Guidelines5/5

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

Explicit routing: use this for brainstorming from a topic, use critique_deck when a deck already exists, and pass a returned idea to idea_to_deck to build a deck. That is a when-to-use, a when-not-to-use, and a named follow-up in three clauses.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.