Skip to main content
Glama
lindoai

mcp-lindoai

Official

create_page

Add a new page to an existing website by describing its content. AI generates the page from your prompt, optionally scheduled for later.

Instructions

Create a new page on an existing website using AI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
website_idYesThe website ID
promptYesDescribe the page to create
schedule_atNoOptional ISO 8601 datetime to schedule for later

Implementation Reference

  • Registration of the 'create_page' tool using server.tool()
    server.tool(
      "create_page",
      "Create a new page on an existing website using AI.",
      {
        website_id: z.string().describe("The website ID"),
        prompt: z.string().describe("Describe the page to create"),
        schedule_at: z.string().optional().describe("Optional ISO 8601 datetime to schedule for later"),
      },
      { title: "Create Page", readOnlyHint: false, destructiveHint: false, openWorldHint: true },
      async ({ website_id, prompt, schedule_at }) => {
        const body = { prompt };
        if (schedule_at) body.schedule_at = schedule_at;
        const data = await apiCall(`/v1/ai/workspace/website/${website_id}/page`, "POST", body);
        return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
      }
    );
  • Handler function that calls the API to create a page using AI
    async ({ website_id, prompt, schedule_at }) => {
      const body = { prompt };
      if (schedule_at) body.schedule_at = schedule_at;
      const data = await apiCall(`/v1/ai/workspace/website/${website_id}/page`, "POST", body);
      return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
    }
  • Input schema defining website_id, prompt, and optional schedule_at parameters
    {
      website_id: z.string().describe("The website ID"),
      prompt: z.string().describe("Describe the page to create"),
      schedule_at: z.string().optional().describe("Optional ISO 8601 datetime to schedule for later"),
    },
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false, and the description adds 'using AI' but lacks details on AI generation behavior, async nature, or state of created page.

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?

Single sentence, no wasted words, but could be slightly more informative without losing conciseness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no explanation of return value or AI generation specifics; incomplete for a creation tool with siblings that have more detailed descriptions.

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% with descriptions for all three parameters; the description adds no extra meaning beyond what the schema provides.

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?

The description clearly states the action (create) and the resource (a page on an existing website), distinguishing it from sibling tools like create_blog or create_website.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives like create_blog or update_page, nor prerequisites such as the website must exist.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lindoai/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server