Skip to main content
Glama

Write author entries

write_page_data
Destructive

Save up to 20 author entries in one Page data list. Use the last read version to replace only that version.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "collection": "<collection>",
      "docs": "<docs>"
    },
    "name": "write_page_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID from the publication receipt
docsYes
kindNo
manageUrlNoPrivate link as target and proof.
namespaceNoNamespace from the publication receipt
collectionYesList name
ownerTokenNoPrivate owner proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the write/overwrite risk is covered structurally. The description adds real value with the optimistic-concurrency semantics (version sent as If-Match, replace-only-that-version), but omits what happens on mismatch, whether existing unseen keys are preserved, and any auth/proof requirements for the owner token.

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?

Two compact sentences with the core action and the concurrency rule front-loaded; nothing is padding. The second sentence is somewhat terse and would read better as an explicit precondition, but the economy is appropriate.

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, 7-parameter write with no output schema, the description covers the entry limit and version semantics but leaves notable gaps: the provenance of the 'publication receipt' fields (id, namespace) is unexplained, and conflict/error behavior is unaddressed. It is minimally adequate rather than complete.

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 71%, so the schema already documents most parameters, including the version field and the 20-item maximum that the description restates. The description adds no clarification for the less obvious parameters (id, namespace, ownerToken, manageUrl, kind), so it does not meaningfully exceed the schema baseline.

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?

The description names a concrete verb ('Save') and resource ('author entries in one Page data list'), plus a hard limit of 20 entries. It is distinguishable from delete_page_data and read_page_data, though the framing as 'author entries' rather than generic page data key/values leaves slight ambiguity about what is actually being written.

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

Usage Guidelines3/5

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

'Use the last read version to replace only that version' implicitly tells the agent to read first and pass the version, which is useful situational guidance. However, there is no explicit statement of when to prefer this tool over siblings or when not to use it, and no mention of what to do on a version conflict.

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.