Skip to main content
Glama

Add Generation To Space Tool

add-generation-to-space

Use this when the user wants to save, publish, or add an existing generated output/result into a documentation Space. State-changing: creates a generation-backed Space item after authorization; adding it to a public Space makes the content publicly accessible. Requires generation_id, destination space_id, and optional parent_id/title.

Input Schema

NameRequiredDescriptionDefault
titleNoOptional custom Space item title. Defaults to the generation filename.
space_idYesTarget numeric Space ID. Call list-spaces first.
parent_idNoOptional parent folder ID in the target Space.
generation_idYesGeneration ID to add to a Space. Call list-generations first.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare it non-read-only and non-destructive; the description adds real context beyond them by flagging the authorization step and the visibility consequence ('adding it to a public Space makes the content publicly accessible'), which is the kind of side-effect an agent cannot infer from the schema.

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 the usage trigger and packed into two sentences with no filler. The trailing parameter list is mildly redundant given full schema coverage but still terse.

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 create-style mutation with no output schema, it covers the essential concerns: state change, authorization, public-visibility risk, and required inputs. Only the absence of any error or idempotency note keeps it out of the top band.

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%, so the schema already documents all four parameters including required status and the list-spaces/list-generations preconditions. The description only restates which fields are required/optional, adding no syntax or semantics beyond the schema.

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 ('save, publish, or add an existing generated output/result into a documentation Space') and scopes it to existing generations, which separates it from siblings like generate-and-add-documentation and create-space-item.

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 a clear trigger condition ('Use this when the user wants to save, publish, or add an existing generated output'). It does not name an alternative or a when-not case, but the 'existing' qualifier implicitly routes newly-generated content elsewhere.

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.