Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

Edit, certify, or delete a Term

update_term
DestructiveIdempotent

Edit an existing term’s metadata, synonyms, column labels, or approval status, or delete it permanently for targeted ontology maintenance.

Instructions

Edit metadata, synonyms, column labels, or approval status of one existing Term, or delete it permanently. Use for targeted edits after modeling or to add user synonyms; use save_table_terms to remodel all Terms on a table, save_concept for concept markdown bodies and typed relations, save_glossary for abbreviations, and define_entity(delete=true) to drop knowledge entities. Editing a certified Term's name or description resets it to draft unless status is also passed; delete=true permanently removes the Term, its mappings, SQL attributes, and relations.

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": {
      "term": "<term>"
    },
    "name": "update_term"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoReplacement business Term name with spaces; omit to keep current name.
noteNoReviewer note explaining the change or certification.
termYesExisting Term name, synonym, or id.
deleteNoSet true to permanently delete this Term, its column mappings, SQL attributes, and relations.
statusNoApproval state; pass 'certified' only when a person explicitly confirmed the definition.
synonymsNoComplete synonym list replacing all existing synonyms.
datasourceNoDatasource name. Optional when only one datasource is registered.
descriptionNoReplacement one-to-two sentence business definition; omit to keep current definition.
add_synonymsNoAdditional synonyms to append, e.g. user vocabulary or translations.
column_updatesNoUpdates to display names or descriptions of mapped columns.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv0.6.2
    • changedInput schema / properties / add_synonyms / description
      Previous value: -"Add synonyms, e.g. the user's own words or translations."New value: +"Additional synonyms to append, e.g. user vocabulary or translations."
    • changedInput schema / properties / column_updates / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "properties": {
      -        "column": {
      -          "description": "Physical column name mapped by this Term.",
      -          "type": "string"
      -        },
      -        "description": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        },
      -        "display_name": {
      -          "anyOf": [
      -            {
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ],
      -          "default": null
      -        }
      -      },
      -      "required": [
      -        "column"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "add_synonyms": {
      +          "anyOf": [
      +            {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "The user's own words for this column to append, e.g. '주문 상태' for Order Status; search finds the column by them."
      +        },
      +        "column": {
      +          "description": "Physical column name mapped by this Term.",
      +          "type": "string"
      +        },
      +        "description": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "New one-sentence business description; omit to keep current description."
      +        },
      +        "display_name": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ],
      +          "default": null,
      +          "description": "New user-friendly label with spaces, e.g. 'Order Date'; omit to keep current label."
      +        }
      +      },
      +      "required": [
      +        "column"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / column_updates / description
      Previous value: -"Rename or describe mapped columns."New value: +"Updates to display names or descriptions of mapped columns."
    • changedInput schema / properties / delete / description
      Previous value: -"Delete the Term with its column mappings and SQL attributes."New value: +"Set true to permanently delete this Term, its column mappings, SQL attributes, and relations."
    • changedInput schema / properties / description / description
      Previous value: -"New description."New value: +"Replacement one-to-two sentence business definition; omit to keep current definition."
    • changedInput schema / properties / name / description
      Previous value: -"New name."New value: +"Replacement business Term name with spaces; omit to keep current name."
    • changedInput schema / properties / note / description
      Previous value: -"Reviewer note."New value: +"Reviewer note explaining the change or certification."
    • changedInput schema / properties / status / description
      Previous value: -"certified = a person confirmed this definition. Do not certify on your own."New value: +"Approval state; pass 'certified' only when a person explicitly confirmed the definition."
    • changedInput schema / properties / synonyms / description
      Previous value: -"Replace all synonyms."New value: +"Complete synonym list replacing all existing synonyms."
    • changedInput schema / properties / term / description
      Previous value: -"Term name, synonym or id."New value: +"Existing Term name, synonym, or id."
  2. First observedv0.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=false, but the description adds non-obvious side effects the annotations cannot convey: editing a certified Term's name or description silently resets it to draft unless status is passed, and delete=true cascades to mappings, SQL attributes, and relations. These are exactly the consequences an agent needs before committing.

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?

Three sentences, front-loaded with the core action and closing with the destructive caveats in the highest-value position. The sibling-routing sentence is long but every clause carries a distinct alternative, so no wording is wasted.

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 10-parameter mutation tool with a full output schema and explicit annotations, the description covers the action, the alternatives, the draft-reset rule, and the cascade of deletion. An agent has everything needed to invoke it correctly without further inference.

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 earns an extra point by documenting the cross-parameter interaction between status and edits to a certified Term, which no single schema field explains. It does not however clarify the synonyms vs. add_synonyms replace-vs-append distinction beyond what the schema already states.

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 first sentence names a specific verb set (edit/delete) against a specific resource (one existing Term) and enumerates the editable surfaces: metadata, synonyms, column labels, approval status. It is immediately distinguishable from bulk operations like save_table_terms.

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?

The description explicitly routes the agent: targeted edits and user synonyms go here, table-wide remodeling goes to save_table_terms, concept bodies to save_concept, abbreviations to save_glossary, and knowledge-entity deletion to define_entity(delete=true). Each alternative is paired with the condition that selects it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.