Skip to main content
Glama

Update schema

update_schema
Destructive

Edit a saved schema's metadata or replace its full schema_content without an LLM call. Requires editor. Only supplied values change. For one property, prefer update_schema_property, add_schema_property or move_schema_property. Replacements must use GeneratedJsonSchema; unknown keywords are dropped, not rejected, and reported in ignored_keywords / applied_repairs. On database-linked schemas this edits the working copy: neutral edits propagate automatically; structural edits take effect after publish_schema. Returns the updated schema and link. Contract and edit workflow: enricher://docs/schema-reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoNew name (must be unique).
tagsNoReplacement tag list.
is_pinnedNoPin or unpin.
schema_idYesUUID of the schema to update.
key_languageNoPre-set the key language for multilingual database keys ahead of a database link (ISO 639-1). Settable only while the schema has no linked database and no entity state; locked afterwards.
schema_contentNoFull replacement schema document, following get_schema.schema_content. See enricher://docs/schema-reference.
ambiguity_check_enabledNoEnable/disable the ambiguity check for this schema — the pass that flags properties whose name admits more than one meaning (gates analyze_schema and the generation post-pass).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already indicate a destructive, non-read-only operation, but the description adds substantial behavior beyond that: replacements must use GeneratedJsonSchema, unknown keywords are dropped (not rejected) and reported in ignored_keywords / applied_repairs, and database-linked edits operate on a working copy with conditional propagation. It also discloses a docs reference for the contract and edit workflow. No statement contradicts the annotations.

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?

Every sentence earns its place: purpose, auth, sibling routing, replacement invariants, linked-schema behavior, return value, and doc link. The most important scoping sentence is front-loaded. It is dense but not bloated, with no filler or repetition.

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 complex mutation tool with 7 parameters, a destructive annotation, and linked-schema workflow nuances, the description covers what an agent needs to call it correctly: the target, the authorization check, the exact replacement format, the unknown-keyword behavior, the publish/gating semantics, and the return shape. An output schema exists for return details, so the description need not duplicate that.

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?

Input schema coverage is 100%, so the baseline is 3. The description adds meaningful semantics beyond the field descriptions: it frames the operation as 'only supplied values change', imposes the GeneratedJsonSchema constraint on schema_content, and explains the working-copy/publish behavior that affects how parameters like schema_content behave on linked schemas. It does not enumerate each parameter, but the schema already does that, so the extra value is above baseline.

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 opens with a specific verb-resource pairing: 'Edit a saved schema's metadata or replace its full schema_content without an LLM call.' It clearly distinguishes itself from sibling tools by naming update_schema_property, add_schema_property, and move_schema_property as the alternatives for single-property edits. The scope is unambiguous and it does not rely on the title alone.

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 explicitly states when to prefer alternative tools ('For one property, prefer update_schema_property, add_schema_property or move_schema_property') and conditions the sibling choices. It also gives concrete guidance for database-linked schemas, explaining that neutral edits propagate automatically while structural edits take effect after publish_schema. The requirement for an editor role and the pointer to the contract docs round out practical usage conditions.

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.