Skip to main content
Glama

Update schema property

update_schema_property
Destructive

Edit or remove one property by path without replacing the full schema. Requires editor; no LLM call. Only supplied fields change; null clears an entry in flags. Server validation rejects or normalizes invalid combinations and reports applied_repairs. Editing inside $defs affects every usage site. Removing an identity-source member is refused until its identity is recomposed. Renames preserve identity references and record migration intent. Database-linked schemas remain working-copy edits until publish_schema; inspect migration_grade. For additions or relocation use add_schema_property or move_schema_property. Paths, flags and rename rules: enricher://docs/schema-reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNo'#/$defs/X' or '#/$enums/X'; clears type.
pathYesProperty path, e.g. 'ceremonies[].ceremony_type'.
typeNoNew JSON type (string/number/integer/boolean/array/object); clears $ref.
flagsNoFlag updates (null clears): expertise, preserve, multilingual, language_discriminator, identifying, nullable, format, pattern, semantic_id, judge_floor, semantic_concept_type, semantic_embedding_model, database_key, db_type, db_type_length, index, unique_group, shared, ordered, db_name, db_name_absolute.
removeNoDelete the property instead.
examplesNo
new_nameNoRename the property.
schema_idYesUUID of the saved schema.
descriptionNo

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?

Goes well beyond the annotations by disclosing permissions ('Requires editor'), validation behavior ('rejects or normalizes invalid combinations and reports applied_repairs'), side effects ('Editing inside $defs affects every usage site'), restrictions ('Removing an identity-source member is refused'), and state implications ('remain working-copy edits until publish_schema'). Annotations only indicate destructiveHint=true; the description adds rich behavioral context.

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?

The description is dense but every sentence earns its place. It front-loads the core action, then covers permissions, validation, side effects, restrictions, rename behavior, and routing to siblings. No fluff 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?

Given the tool's complexity (9 params, mutation, side effects, restrictions) and the existence of an output schema, the description covers everything an agent needs: permissions, validation, side effects, restrictions, alternatives, and a pointer to detailed rules. Nothing critical 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 78%, so the schema already documents most parameters. The description adds meaningful value by clarifying that null clears entries in flags, pointing to the external reference for path/flag/rename rules, and noting that ref clears type and type clears $ref. This goes beyond the schema's basic descriptions.

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 ('Edit or remove'), a resource ('one property by path'), and the key behavior (without replacing the full schema). It also distinguishes itself from siblings add_schema_property and move_schema_property, making its purpose unmistakable.

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?

Explicitly names when to use this tool versus alternatives: 'For additions or relocation use add_schema_property or move_schema_property.' It also clarifies that database-linked schemas remain working-copy edits until publish_schema, giving clear context on when this is appropriate.

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.