Skip to main content
Glama

Huddle

create_doc

Idempotent

Create an empty document. Use it to start something new, then write into it with save_draft and publish_draft. Returns the new document's id, its title and its revision number, which is 0 until something is published.

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": {
      "title": "<title>"
    },
    "name": "create_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesthe document's title, 1 to 200 characters

Output Schema

NameRequiredDescriptionDefault
idYesThe document id.
titleYesIts title.
revisionsYesIts revision count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and idempotentHint=true, so the safety profile is covered. The description adds the returned fields and the fact that revision starts at 0 until publishing, but it never explains the surprising idempotent semantics of a create call, i.e. whether a repeat call with the same title returns the existing document or errors.

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?

Three short sentences with the creation purpose front-loaded and the workflow pointer immediately after. The closing sentence on return values is partly redundant given an output schema exists, which is the only wasted effort.

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?

For a one-parameter creation tool with full schema coverage and an output schema, the description covers purpose, next steps, and return shape. The only real gap is collision or duplicate-title behavior, which matters given idempotentHint=true.

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 100% and the single title parameter already carries a description and example, so the schema does the heavy lifting. The description adds no meaning about the title, such as uniqueness constraints or trimming behavior, so the baseline 3 applies.

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?

"Create an empty document" gives a specific verb and resource, and the mention of save_draft and publish_draft makes clear this is the creation step that precedes writing and publishing. An agent can distinguish it from its siblings without reading 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?

The description states the situation for use ("start something new") and explicitly routes follow-up work to save_draft and publish_draft, which is concrete guidance. It stops short of stating when not to use it, e.g. that existing documents should be edited rather than recreated.

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