Skip to main content
Glama

Plan an AI draft

plan_script

Ask the AI what it would draft and what it needs to know. Optional, and spends a few hundred of the community's credits. Returns an outline, up to 3 questions for the person (with suggested answers) and the facts the draft needs. Ask the person, then pass plan, answers and session_id to generate_script or create_project. Skip it when the request is already complete. Pass admin_language (the person's language) so the plan and author_notes are written in it.

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": {
      "intent": "<intent>"
    },
    "name": "plan_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
intentYesThe goal of the conversation in plain language.
languageNoLanguage respondents read: any language's name (`French`, `Tagalog`) or a locale code (`fr`). Defaults to a language the intent names, else the community's.
admin_languageNoLanguage the plan and `author_notes` are written in for the person you work for. Never sets the project's language. Omitted: inferred from the intent, and `notices` say so.
question_countNoHow many questions to draft, 1-20. Omit to let the model choose.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / admin_language / description
      Added value: +"Language the plan and `author_notes` are written in for the person you work for. Never sets the project's language. Omitted: inferred from the intent, and `notices` say so."
    • addedInput schema / properties / intent / description
      Added value: +"The goal of the conversation in plain language."
    • addedInput schema / properties / language / description
      Added value: +"Language respondents read: any language's name (`French`, `Tagalog`) or a locale code (`fr`). Defaults to a language the intent names, else the community's."
    • addedInput schema / properties / question_count / description
      Added value: +"How many questions to draft, 1-20. Omit to let the model choose."
  2. Changed1 schema field changed
    • addedInput schema / properties / admin_language
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Admin Language"
      +}
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare safety flags (readOnly=false, destructive=false, non-idempotent); the description adds genuinely new context: the call is optional and 'spends a few hundred of the community's credits,' which matters for a non-idempotent call. It also describes the return payload, which no output schema covers. It doesn't state whether repeated calls re-charge or how credits are metered, keeping it just short of a 5.

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-loads what the tool does, then cost, then the workflow handoff. Dense but nearly every clause carries operational meaning; the admin_language sentence is slightly tacked on at the end rather than integrated.

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?

With no output schema, the description fully covers the return shape (outline, questions with suggested answers, needed facts) and the multi-step workflow an agent must follow. Nothing essential for correct invocation 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 description coverage is 100% and each parameter (intent, language, admin_language, question_count) is already documented in detail. The description reinforces admin_language's scope relative to the plan and author_notes, but adds little syntax or constraint 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.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Uses a specific verb and resource ('Ask the AI what it would draft'), and spells out exactly what comes back: an outline, up to 3 questions with suggested answers, and the facts the draft needs. This is clearly separable from generate_script and create_project, which consume the plan rather than produce it.

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?

Gives explicit when-to-use, when-to-skip ('Skip it when the request is already complete'), and the exact downstream step: ask the person, then pass plan, answers and session_id to generate_script or create_project. Alternatives and handoff are both named.

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.