Skip to main content
Glama

put_content

DestructiveIdempotent

Stage one content key. Body ≤60KB. Larger pages: stage_content_chunk + apply_changeset bodyStaging, dotsy push, or PUT content-raw. Edits to an existing large page: batch_patch_content.

Input Schema

NameRequiredDescriptionDefault
keyYesContent key: a page (about.html, blog/post.html), a layout (layouts/<name>.html) or a fragment (fragments/<name>.html). A <dotsy-fragment name> tag and a route's layout use the bare name, not the key.
bodyYes
siteYesSite slug, e.g. acme-studio
contextNoWhy you're calling this (activity log).
guestTokenNoGuest token from start_site (pgg_…). Omit when signed in with OAuth.
contentTypeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • changedInput schema / properties / context / description
      Previous value: -"Optional: one sentence on why you are calling this (shown in the site's activity log; no personal data)."New value: +"Why you're calling this (activity log)."
  2. Changed3 schema fields changed
    • changedInput schema / properties / context / description
      Previous value: -"One sentence: why you are calling this tool and what you are trying to accomplish. Stored on the site's activity log and visible to everyone on the site — never put secrets or personal data here."New value: +"Optional: one sentence on why you are calling this (shown in the site's activity log; no personal data)."
    • changedInput schema / properties / guestToken / description
      Previous value: -"Guest token from start_site. Send it on every call until claim_site. Omit when this chat is already signed in to Dotsy."New value: +"Guest token from start_site (pgg_…). Omit when signed in with OAuth."
    • changedInput schema / required
      Previous value: -[
      -  "site",
      -  "key",
      -  "body",
      -  "context"
      -]New value: +[
      +  "site",
      +  "key",
      +  "body"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / key / description
      Added value: +"Content key: a page (about.html, blog/post.html), a layout (layouts/<name>.html) or a fragment (fragments/<name>.html). A <dotsy-fragment name> tag and a route's layout use the bare name, not the key."
  4. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so safety and repeatability are covered structurally. The description contributes the concrete 60KB body ceiling and the staging (draft-state) framing, but never says that this overwrites the existing content at that key, which is the key consequence implied by destructiveHint.

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?

Extremely tight and front-loaded: the core action and the size limit come first, then escape hatches. It leans on dense product jargon ("dotsy push", "PUT content-raw", "bodyStaging") that an unfamiliar agent may not decode, but nothing is wasted.

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

Completeness3/5

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

For a destructive, non-read-only writer with six parameters and no output schema, the definition covers the size branch and alternatives but omits overwrite semantics, auth path (guestToken vs OAuth), and contentType meaning. Enough to call it in the common case, not enough to call it confidently when a key already exists.

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?

With 67% schema coverage, the schema already documents key, site, context, and guestToken. The description adds real value for one parameter by capping body at 60KB, but leaves contentType (undocumented in both places) and the body's expected format (full HTML document vs fragment) unexplained.

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?

"Stage one content key" gives a specific verb (stage) and a bounded resource (a single content key), which separates it from bulk_put_content and stage_content_chunk. It stops short of explicitly contrasting with patch_content or edit_page, so the agent still has to infer which mutator applies to small edits of existing pages.

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?

It names concrete alternatives with the condition that selects them: >60KB bodies go to stage_content_chunk + apply_changeset bodyStaging, dotsy push, or PUT content-raw, and edits to an existing large page go to batch_patch_content. No "do not use when" is stated for the ordinary small-edit case, so routing against patch_content/edit_page is left to inference.

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