Skip to main content
Glama

Update a dynamic route's display name

update_dynamic_route_metadata
DestructiveIdempotent

Updates current route presentation metadata without validating or changing the draft graph, incrementing its revision, or deploying a version. display_name preserves case, spaces and Unicode; boundary whitespace is trimmed. Empty clears the label; omission, null, control characters, unknown fields and labels longer than 128 characters are rejected. The route identifier and invocation_model are unchanged. Restore and rollback preserve the current label. Requires the dynamic_routes:write scope.

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": {
      "display_name": "<display_name>",
      "name": "<name>"
    },
    "name": "update_dynamic_route_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesRoute name
display_nameYesHuman label; preserves case and spaces. Empty clears the label. Does not change routing; draft revision; or deployed version.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNoEmpty for a single resource. Endpoint-specific context appears here rather than as a sibling of `data`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already declare non-read-only, destructive, and idempotent, and the description adds substantial context beyond that: no validation or revision increment, empty string clears the label, restore/rollback preserve the label, and a required `dynamic_routes:write` scope. What it does not spell out is the response shape or what 'clearing' means downstream, but with an output schema present that omission is minor.

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 non-effects are front-loaded in the first sentence and each subsequent sentence carries distinct rules (trimming, clearing, rejection, scope). It is dense and semicolon-heavy, but no sentence is redundant.

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 two-parameter mutation with full schema descriptions, an output schema, and rich annotations, the definition covers the remaining agent-relevant gaps: side-effect boundaries, input rejection rules, auth scope, and interaction with restore/rollback. Nothing needed to call it correctly is missing.

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 goes further than the schema by specifying Unicode preservation, boundary-whitespace trimming, and rejection of nulls, control characters, and unknown fields. The 128-character cap and empty-clears behavior are already in the schema, so some overlap exists.

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 names a specific verb and a narrowly scoped resource: it updates 'current route presentation metadata' only, and explicitly rules out validating or changing the draft graph, bumping the revision, or deploying. That scoping distinguishes it from the draft-update and deployment siblings without ambiguity.

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?

It gives clear context for when to use it (changing only the human label) and implies when not to (anything touching the draft graph, revision, or deployment belongs elsewhere). It stops short of naming an alternative tool to call instead, so the agent must infer the routing.

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