Skip to main content
Glama
mnmozi

Dynatrace SaaS MCP Server

by mnmozi

update_notebook

Update an existing notebook with new name, content, or file content. Requires current document version for optimistic locking.

Instructions

Update an existing notebook (WRITE). Uses PATCH /documents/{id} with multipart/form-data per the spec. Optimistic locking: you must supply the current document version. At least one of name, content, or contentPath must be provided. Requires DT_ENABLE_WRITES=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesNotebook document id.
versionYesCurrent document version for optimistic locking (required by the spec).
nameNoNew display name (optional).
contentNoNew notebook content as a JSON object (optional).
contentPathNoAbsolute or cwd-relative path to a JSON file whose contents become the new notebook content. Mutually exclusive with content.
Behavior3/5

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

With no annotations, the description discloses the write nature, optimistic locking, and configuration requirement. However, it does not detail error conditions, rate limits, or authorization specifics beyond the flag, leaving some transparency gaps.

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?

The description is highly concise with three sentences that each contribute essential information: purpose, locking mechanism, parameter requirements, and configuration. No redundancy or fluff.

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 description covers key aspects but lacks information about return values (no output schema) and does not mention error cases like version conflicts. For a mutation tool with nested parameters, more detail on expected behavior would be beneficial.

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% (baseline 3). The description adds the rule that at least one of name, content, or contentPath must be provided, which is not captured by the schema's optionality. This adds meaningful usage guidance.

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 'Update an existing notebook (WRITE)' and specifies the HTTP method and spec. It distinguishes from siblings like create_notebook and delete_notebook by focusing on updates.

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 provides guidance on when to use the tool (for updating existing notebooks) and includes important usage notes like optimistic locking, required version, and the configuration flag. It could be improved by explicitly stating when not to use it, but the context is clear given siblings.

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/mnmozi/dynatrace-mcp-saas'

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