Skip to main content
Glama

ProtoJoint

Start a new design

new_document
Destructive

Replaces the open design with an empty one. The user can undo it. Only call when the user asked for a new design or the current one is empty.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "new_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
unitsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, so the risk is known, but the description adds the crucial mitigating fact that the user can undo the replacement and repeats the precondition. It does not say whether an unsaved named design is discarded or what happens to the name/units of the discarded document, which keeps it below 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action, then the reversibility fact, then the guardrail. No padding or restatement of the title.

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?

The destructive behavior and undo path are covered well enough for a simple two-parameter tool with no output schema. However, with zero schema coverage, the description leaves both parameters entirely unexplained, which is a notable gap for a tool that resets state.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for two parameters, so the description must carry the meaning and does not mention either. It never says whether "name" renames the new document, whether it is optional-and-defaulted, or whether "units" inherits the previous design's units when omitted.

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?

"Replaces the open design with an empty one" is a specific verb plus resource, and it makes scope explicit (the whole open design, reset to empty). An agent can distinguish this from siblings like undo or get_document 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 Guidelines4/5

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

It gives an explicit gating condition: call only when the user asked for a new design or the current one is empty. That is a real when-to-use rule with an implicit warning against incidental calls. It does not name a specific alternative tool, so it falls short of a 5.

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