Skip to main content
Glama

update_schema

Rename a saved schema, replace its definition, or both. A schema is {"type":"object","properties":{...}}. Each property is {"type":T} where T is one of any, null, boolean, string, number, date, array, object. An optional description, at most 400 characters, tells the model how to read that field. An optional required array lists the keys that must be present. A date is a string yyyy-mm-dd. An array adds "items" (one node). An object adds "properties" and may add "required". At most 4 levels below the root, 100 keys, and 16384 bytes.

Input Schema

NameRequiredDescriptionDefault
nameYesThe current name.
schemaNoA schema is {"type":"object","properties":{...}}. Each property is {"type":T} where T is one of any, null, boolean, string, number, date, array, object. An optional description, at most 400 characters, tells the model how to read that field. An optional required array lists the keys that must be present. A date is a string yyyy-mm-dd. An array adds "items" (one node). An object adds "properties" and may add "required". At most 4 levels below the root, 100 keys, and 16384 bytes.
newNameNoLowercase letters, digits, underscores, and hyphens. No spaces.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose concrete limits (depth 4, 100 keys, 16384 bytes, 400-char descriptions), which help an agent pre-validate. However, it omits the mutation semantics that matter most: whether passing 'schema' fully overwrites the existing definition, whether the old name is released on rename, whether this requires ownership, and what happens if the name does not exist.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

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

The purpose is front-loaded in one good sentence, but the remaining text is a near-verbatim duplicate of the 'schema' parameter description already present in the input schema. Roughly half the description is redundant, displacing space that could have described mutation semantics.

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?

For a mutation tool with no annotations and no output schema, the description establishes what changes and the structural constraints, which is enough to construct a valid call. It is incomplete on the consequences: overwrite behavior, failure modes, and whether renaming preserves or drops the schema body, and it does not state the at-least-one-of constraint on schema/newName.

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 description coverage is 100%, so the schema already documents all three parameters, and the description's schema-format block is a verbatim copy of the 'schema' parameter description rather than added meaning. Nothing extra is said about 'name' (current name) or the interaction between name and newName. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opening sentence gives a specific verb set and resource: rename a saved schema, replace its definition, or both. It clearly separates this from create_schema/get_schema by framing it as modification of an existing saved schema, though it never names the siblings explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'rename, replace, or both' phrasing implies that at least one of the optional parameters (newName/schema) must be supplied and that two distinct modes exist, which is useful usage signal. But there is no explicit when-to-use guidance, no statement of prerequisites (does the schema have to already exist?), and no routing versus create_schema for the case where the name is wrong.

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