Skip to main content
Glama

Import page file

import_page
Destructive

Load a whole page at once from a Posy brief (name, bio, look, theme, links[]) or a full page JSON. Creates the page if there is none (pass username); with an existing page it replaces the draft only when replace is true.

Input Schema

NameRequiredDescriptionDefault
fileYesThe brief or page JSON, as an object or text. Format: /docs/format
replaceNoOverwrite an existing draft.
usernameNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=false and openWorldHint=false, so the safety profile is partly covered. The description adds a genuinely useful nuance the annotations cannot express: an existing page is left alone unless replace is true, and only the draft is affected. It still omits auth requirements and any error/response behavior.

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 dense sentences, zero filler, with the bulk-import scope stated first and the conditional creation/replacement rules second. Every clause carries information an agent needs.

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?

For a 3-parameter mutation tool with no output schema and annotations covering safety, the description covers both operating modes (create-if-absent, replace-draft-if-flagged) plus the accepted input shapes. It lacks any statement about return value or failure modes, which is a minor gap rather than a blocking one.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 67% and username has no schema description at all; the description compensates by explaining username's role (creation path) and clarifying replace's exact effect on an existing page. file's dual string/object nature is echoed from the schema rather than extended, but the added meaning for the other two params is solid.

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?

States a specific verb+resource ('Load a whole page at once') and enumerates the accepted source formats (Posy brief with name/bio/look/theme/links, or full page JSON). This implicitly separates it from per-element siblings like add_tile or update_tile, though it never names an alternative explicitly, so it falls just short of a 5.

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?

Gives two concrete conditional rules: pass username when no page exists, and replace=true is required to overwrite an existing draft. That is real when-to-use guidance, but it never contrasts this tool with create_page or add_tile for the 'I just want one tile' case.

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.