Skip to main content
Glama

Start sending a page

start_page_revision

Opens an upload of a page bundle (a static site: index.html at the root, built CSS and browser JavaScript, images and fonts) to an Entry, as a new page or as a new revision of one of its pages. Takes the manifest of every file (path, size in bytes, sha256 of the exact bytes) and checks it against the bundle rules (at most 200 files, 10 MB in all, 4 MB a file; built web file types only) before any file is sent. Returns an uploadId and the paths whose content Entry still needs: a file unchanged since the page's latest revision is not needed again. A revision of an existing page names the baseRevision it is made against, and a stale one is refused with the latest number. The same idempotencyKey returns the same open upload, or the revision it already made. Nothing is created yet and nothing is public: the page stays a private draft. Requires the pages:write scope. Publishing, unpublishing and changes to the live profile are made only by the owner, in Entry.

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": {
      "entryId": "<entryId>",
      "title": "<title>",
      "idempotencyKey": "<idempotencyKey>",
      "files": "<files>"
    },
    "name": "start_page_revision"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoA new page's address under the Entry: 1 to 60 lowercase letters, digits and single hyphens. Leave out to take one from the title. Fixed once the owner publishes.
filesYesEvery file of the bundle, index.html included, with its size and hash (at most 200 are accepted).
titleYesThe page's name, shown to the owner in Entry (the bundle's <title> names each revision).
pageIdNoThe page to send a new revision of. Leave out to create a new page.
entryIdYesThe Entry's id (starts with ent_), as returned by list_entries.
baseRevisionNoThe revision number the change is made against. Required when pageId is given; if the page has moved on, the call fails with the latest number.
idempotencyKeyYesChosen by the caller, 8 to 100 printable characters without spaces, such as a UUID. Repeating it after a dropped connection returns the first result and never makes a second draft. Use a new one for each new revision.

Output Schema

NameRequiredDescriptionDefault
codeNoOnly when the call failed (isError): the error code, e.g. conflict, forbidden, not_found, validation_failed, rate_limited.
neededNoThe paths to send. Every other file is already in Entry from the page's latest revision.
detailsNoOnly when the call failed: conflict has revision, forbidden has requiredScope, rate_limited has retryAfter (seconds), validation_failed has problems; a refused page bundle has errors (code, path, detail, fix for each) and a stale page revision has revision.
messageNoOnly when the call failed: what went wrong and what to do.
uploadIdNoSend each needed file to this upload, then submit it. Null when the idempotencyKey already made a revision: see submitted.
submittedNoThe revision this idempotencyKey already made, when it did.
maxChunkBytesNoThe most bytes of one file a single chunk carries, before encoding.
expiresInMinutesNoAn upload that is not submitted by then is discarded.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Discloses behavior well beyond the annotations: pre-flight manifest validation against bundle rules (at most 200 files, 10 MB total, 4 MB per file, built web types only), what the response contains (uploadId plus only the paths still needed), stale baseRevision refused with the latest number, and the required pages:write scope. The idempotencyKey semantics are spelled out precisely (same key returns the same open upload; new key for each new revision), which is consistent with a state-changing tool annotated idempotentHint=false, and the non-destructive framing matches destructiveHint=false.

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 action and the object, then progressively narrows to validation rules, return values and side-effect status, so an agent can stop reading at any point. Sentences are dense and run long (one sentence carries three size limits and a type restriction), which costs some scannability but nothing is wasted.

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

Completeness5/5

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

For a 7-parameter, mutation-adjacent upload-start tool, the description covers inputs, validation failure modes, return payload and safety posture. An output schema exists, yet the added explanation of the returned uploadId and 'paths still needed' clarifies semantics the output schema alone would not.

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 100%, so the baseline is 3, but the description adds real meaning on top: it explains why sha256 and bytes matter (unchanged files are not requested again), that baseRevision is only relevant for a revision of an existing page, and that slug is fixed once the owner publishes. It does not elaborate on idempotencyKey format or slug derivation beyond what the schema already says.

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 ('Opens an upload of a page bundle ... to an Entry') and immediately splits the two modes: a new page or a new revision of one of its pages. The final sentence ('Nothing is created yet and nothing is public') separates the intent from submit_page_revision without needing the sibling's schema.

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 clear when-to-use context: this only opens and validates an upload, the page stays a private draft, and publishing is the owner's action in Entry. It does not explicitly name submit_page_revision as the follow-up call, so the agent must infer the next step from the 'nothing is created yet' framing rather than being routed by name.

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.