Skip to main content
Glama

Create Space Document Tool

create-space-document

Use this when the user wants to create a markdown document/page in a Space from provided content. State-changing: creates the document directly after authorization; content in a public Space is publicly accessible. Requires numeric space_id, title, and markdown content. Use create-space-item for folders or external links.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoFolder path for the document (e.g., "docs/api") - creates folders if they don't exist
titleYesThe title of the document
contentYesThe content of the document in markdown format
space_idYesThe numeric ID of the space to create the document in. Call list-spaces first.
parent_idNoThe numeric ID of the parent folder (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, and destructiveHint=false, so the mutation profile is partly given. The description adds non-structured value: that creation happens immediately 'after authorization' (an auth prerequisite) and that content in a public Space becomes publicly accessible (a visibility consequence the agent should warn about). It could say more about overwrite/duplicate-title 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?

Three short sentences, front-loaded with the trigger condition, then the state-changing warning, then the disambiguation. No filler sentences and no redundancy against the structured fields.

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 non-idempotent mutation tool with no output schema, the definition covers the trigger, the alternative, the auth requirement, and the public-visibility consequence, which is enough to invoke it safely. Minor gaps remain around what is returned and behavior on duplicate titles or existing paths.

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%, including the 'Call list-spaces first' hint for space_id and the folder-creation side effect for path. The description's mention of 'numeric space_id, title, and markdown content' merely restates the required fields already documented in the schema, adding no syntax or format detail beyond it. Baseline 3 is appropriate.

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 and resource ('create a markdown document/page in a Space from provided content') and explicitly routes the agent away from the closest sibling by naming create-space-item for folders or external links. An agent can distinguish this from create-space-item, update-space-document, and the generate-* family without opening schemas.

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?

'Use this when the user wants to create a markdown document/page in a Space' gives a clear trigger, and the closing sentence names the alternative tool and the condition that selects it. It lacks explicit exclusion guidance against the many sibling generation/documentation tools, but the primary fork (document vs folder/link) is covered.

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