Skip to main content
Glama

private_document_set

Destructive

Keep one of the person's private documents: a layout for print of their own on this model — their board pack, a draft they are not ready to show — kept beside it and shown to nobody else; you act as them, so these are yours to keep as they would. Takes exactly document_set's arguments (read its description for the blocks, columns and references) and refuses what the model does not hold the same way. name picks one of their private documents; without it a new one is made from title. It is not in the model, so it is not a pending change and nothing is proposed: it is kept at once, and document_get reads it straight away. Never give it the name of one of the model's own documents, and use it — never document_set — whenever the person asks for a document of their own or one nobody else should see.

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": {
      "model": "<model>"
    },
    "name": "private_document_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOne of the person's private documents, by name, to change it; leave out (with `title`) to make a new one.
pageNo
brandNoThe house style it prints in — only what the person asked for or the model already carries; a document is unbranded unless they say. Passed whole: it replaces the document's brand, and an empty object takes it away.
labelNoWhat the document is called in the model's list where it should differ from the printed title — 'v2', 'sanitised for the bank'. Never printed; an empty string takes it away.
modelYesModel uid (`model_…`), from model_list.
titleNoThe title printed on the cover and at the head of each page.
blocksNo
footerNoThe line at the foot of every page but the cover, the same way. Absent, '{page} / {pages}' at the right.
formatNoThe file the document downloads as: pdf (the default), or docx — a Word file, for a document somebody will edit and send on. Set it only when asked.
headerNoThe line at the head of every page but the cover, in three slots of text with placeholders {title}, {subtitle}, {model}, {brand}, {date}, {page}, {pages}, and {logo} (the house style's logo, drawn at the line's height) or {logo:name} (one of its further logos). Absent, the title at the left; every slot empty, none.
periodsNoThe columns every statement shows, left to right.
scenarioNoThe scenario the figures are drawn in; base unless said. A figure in prose that should read another scenario names it: `{{name@scenario}}`.
subtitleNoThe line under it: the entity and the period ('For the year ended 30 June 2025').
coverLogoNoWhich logo the cover draws: false for none, the name of one of `brand.logos`, or null for the main logo (the default). Only as the person asks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it is kept at once rather than queued as a pending change, nothing is proposed, and document_get reads it straight away — important because the agent would otherwise assume the changeset/propose workflow. It also discloses a refusal rule ('refuses what the model does not hold the same way'). It stops short of describing what happens to an existing private document's unspecified fields when `name` targets it, so it does not fully own the destructiveHint=true surface.

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 core purpose in the first clause, and the later sentences carry distinct, non-redundant information (argument source, name/title behavior, immediacy, the exclusion). It is dense and em-dash heavy, but for a 14-parameter tool nearly every clause earns its place.

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?

Covers the things an agent most needs for a destructive, non-idempotent write with no output schema: that it persists immediately, that it is not part of the model's pending changes, and that it is readable via document_get. The one gap is that with no output schema the description never says what the call returns (e.g., a name or uid the agent would reuse).

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 already 86%, and the description adds only the `name`-versus-`title` selection rule (name targets an existing private document, absent it makes a new one from title). The remaining parameters are delegated wholesale to document_set's description, which is a sensible pointer but not added meaning for this 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+resource ('keep one of the person's private documents') and immediately scopes it against the model itself ('beside it and shown to nobody else'). It explicitly names the sibling it replaces ('use it — never document_set — whenever the person asks for a document of their own'), so an agent can distinguish it without opening any schema.

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

Usage Guidelines5/5

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

Gives an explicit use condition ('whenever the person asks for a document of their own or one nobody else should see'), an explicit alternative to avoid ('never document_set'), and an explicit exclusion ('Never give it the name of one of the model's own documents'). Nothing about routing 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