Skip to main content
Glama

Update dynamic endpoint

update_dynamic_endpoint
Destructive

Update a dynamic endpoint's display_name, description, and content_type (metadata only — this does NOT change the workflow binding or cache setting; author those with create_dynamic_endpoint_version, and the slug cannot be changed). This is a WHOLESALE replace: display_name is required and description + content_type are set to exactly what you pass. IMPORTANT: an empty content_type CLEARS it, reverting the endpoint to serving whatever content-type the workflow returns (e.g. a text/html page would start serving as text/plain). So read the current values with get_dynamic_endpoint first and pass all fields you want to keep.

Input Schema

NameRequiredDescriptionDefault
descriptionNoWhat this endpoint serves. Set wholesale — an empty value clears it.
endpoint_idYesThe endpoint id to update.
content_typeNoThe response Content-Type this endpoint serves (e.g. text/html). Set wholesale — an empty value CLEARS it, reverting to the workflow's own content-type. Pass the current value to preserve serving behavior.
display_nameYesHuman-readable name. Required (cannot be blank).

Output Schema

NameRequiredDescriptionDefault
slugYes
versionNo
definitionNo
public_urlNo
descriptionYes
endpoint_idYes
content_typeYes
display_nameYes
latest_versionYes
last_published_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Adds substantial context beyond the annotations: wholesale-replace semantics, the non-obvious fact that an empty content_type CLEARS it and reverts to the workflow's content type (with a concrete text/html → text/plain example), and that display_name is required and non-blank. Annotations already flag destructiveHint and idempotentHint=false, so the description's value is in explaining the blast radius rather than restating safety. It doesn't say whether a version is created or whether changes are recoverable, 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.

Conciseness4/5

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

Front-loaded with the scope and the wholesale-replace warning, and every clause carries operational weight. The first sentence is heavily parenthetical, which slightly crowds the highest-value information, but nothing is redundant filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a destructive, non-idempotent mutation with an output schema and full annotation coverage, the description supplies exactly the missing pieces: replace semantics, the clearing hazard, the required-field constraint, the recommended read-before-write flow, and where the out-of-scope fields belong.

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%, so the baseline is 3, but the description adds real semantics: which parameters are metadata-only vs. owned by the versioning tool, and that all mutable fields must be passed together or they will be cleared. That says something the schema cannot — the interaction between fields, not just their types.

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 and immediately bounds the scope: metadata only, explicitly excluding the workflow binding, cache setting, and slug. It names the sibling that handles the excluded concern (create_dynamic_endpoint_version), so an agent can distinguish it from neighbors without opening schemas.

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 prerequisite workflow — read current values with get_dynamic_endpoint first, then pass all fields you want to keep — and routes the excluded concerns to the correct alternative tool. It also states a hard constraint (slug cannot be changed), leaving nothing 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