Skip to main content
Glama
Auto Ontology MCP

Auto Ontology MCP

by gogoymh

Update or delete knowledge records

edit_records
DestructiveIdempotent

Update or delete records by ID for a given entity; deletion is refused when other records reference them, and confirmation is required before deleting.

Instructions

Correct or delete records by id. Deleting a record that other records reference is refused. Confirm with the user before deleting.

Input Schema

NameRequiredDescriptionDefault
idsYesRecord ids (find them with run_sql or describe_table).
actionYesWhat to do with the records.
entityYesEntity name.
sourceNoWhere this came from: an existing source id, or a new source to register (deduplicated by uri or title).
valuesNoFor update: column values to set; may include _locator, _evidence, _note.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real value on top: referential-integrity refusal semantics and a human-confirmation requirement. It omits one notable side effect — that passing a source object registers a new source — which is only visible in the schema.

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?

Three short sentences, zero filler, with the core action front-loaded and the destructive caveat immediately after. Nothing could be removed without losing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and full schema coverage carries parameter detail. The remaining gap is explaining the update-vs-delete asymmetry (values apply only to update, source registration is a side effect), which an agent must piece together itself.

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 baseline is 3. The description only echoes "by id"; it adds no meaning for entity, action, values, or the source-registration branch beyond what the schema already documents.

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?

"Correct or delete records by id" names two specific verbs, the resource (records) and the addressing key (id), which separates it from add_records or update_term. It never names a sibling explicitly, so the differentiation is inferable rather than stated.

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?

It gives one concrete usage rule — confirm with the user before deleting — plus the failure condition that deleting a referenced record is refused. It says nothing about when to prefer this over add_records, update_term, or define_entity, and gives no guidance on when an update should be routed elsewhere.

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