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

TableJSON 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

TableJSON 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.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true), the description discloses the wholesale replace semantics, that an empty content_type clears it, and the scope (metadata only). It fully explains the side effects and the requirement to pass all fields to preserve them, which is critical for a destructive, non-idempotent operation. No contradiction with annotations.

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 longer than average but each sentence is essential: it front-loads purpose and exclusions, then details replace semantics, then warns about clearing and gives the read-first directive. It is well-structured and efficient for the complexity involved, though slightly dense.

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?

For a destructive, wholesale-replace operation, the description covers everything an agent needs: scope, replace behavior, clearing hazard, prerequisite read step, and the sibling tool for related changes. The output schema exists, so return values are documented elsewhere. No gaps remain for correct invocation.

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. The description adds significant value by explaining the replace behavior and the clearing effect of empty content_type, which the schema only hints at. It also clarifies that display_name is required and cannot be blank, enriching parameter understanding beyond the schema.

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 states a specific verb and resource ('Update a dynamic endpoint's display_name, description, and content_type'), and immediately clarifies it is metadata-only, distinguishing it from version creation. This is unambiguous and differentiates from sibling tools like create_dynamic_endpoint_version.

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?

It gives explicit when-to-use and when-not-to-use guidance: it tells the agent to read current values with get_dynamic_endpoint first, warns against using it for workflow binding or cache (directing to create_dynamic_endpoint_version), and explains the wholesale replace behavior. This is precise operational guidance.

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