Skip to main content
Glama

hedgedoc_update_note

Replace an entire note's markdown content using its custom alias. Use this to overwrite a HedgeDoc note created with an alias; notes with random IDs can't be updated via HTTP.

Instructions

Overwrite the entire content of an existing note. IMPORTANT: this only works for notes that were originally created with a custom alias (via hedgedoc_create_note's alias parameter). HedgeDoc 1.x has no REST update endpoint for random-ID notes — those can only be edited live in the browser. If the target note was created without an alias, this call will fail. The update is a full overwrite — partial/patch updates are not supported.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesNew full markdown content. Replaces the note's current content entirely.
note_idYesThe custom alias of the note to overwrite (e.g. 'my-meeting-notes'). Random-ID notes cannot be updated over HTTP.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses the destructive nature of full overwrite, the alias-only constraint, and failure mode for random-ID notes. It does not mention authentication or response semantics, but for a simple update operation, the key behavioral traits are well covered.

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?

The description is front-loaded with the main action, then follows with necessary caveats. The IMPORTANT notice is somewhat lengthy but each sentence provides essential warning information. It could be tightened slightly, but it's well-structured for a mutation tool with significant constraints.

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?

Given the tool's complexity (alias-only update, full overwrite), the description covers the critical constraints and failure modes. There is no output schema, and the description doesn't explain the response shape, but that's not a major gap for a straightforward update. The main usage scenarios and pitfalls are clearly communicated.

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%, so the schema already documents both parameters. The description reinforces that note_id must be a custom alias and that content replaces the entire note, but it largely restates what is already in the schema descriptions, adding minimal extra semantic value beyond the structured fields.

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?

The description clearly states the tool's purpose: 'Overwrite the entire content of an existing note.' It identifies the specific resource (note) and the action (full overwrite), and distinguishes itself from sibling tools like create, read, and info by specifying this is an update operation with full-content replacement.

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?

Usage guidance is explicit: it specifies that this only works for notes created with a custom alias, and that random-ID notes cannot be updated via HTTP. It also states the call will fail for non-alias notes and that partial updates are not supported, giving clear when-to-use and when-not-to-use conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mrsunglasses-experiments/hedgedoc-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server