Skip to main content
Glama

remove_data_registry_source

DestructiveIdempotent

Remove a DataTable source from a UDataRegistry asset by data table path or source index and save the asset.

Instructions

Remove a DataTable source from a UDataRegistry asset (the true inverse of add_data_registry_source). Does a reflective RemoveAt on the registry's protected DataSources[] array and saves the asset. Select the source either by data_table_path (matched against each DataTable source's SourceTable) or by source_index. Does NOT unregister from the subsystem. Idempotent: if the source is not present it returns removed:false with an unchanged count.

Returns: { registry_path: string, source_index: int, data_table_path: string, source_count_before: int, source_count_after: int, removed: bool, saved: bool, save_error: string, note: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
source_indexNoDirect index into DataSources[] to remove. Provide this OR data_table_path.
registry_pathYesContent path to the UDataRegistry asset.
data_table_pathNoContent path of the source DataTable to remove (matched against SourceTable). Provide this OR source_index.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: the reflective RemoveAt on the protected DataSources[] array, that the asset is saved as part of the operation, that it does NOT touch the subsystem registry, and the exact idempotency semantics (removed:false with unchanged count when absent). This is far richer than the destructive/idempotent hints alone.

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?

Front-loaded with purpose and inverse relationship, then mechanics, then the return shape. Dense with information and mostly earns its length, though the parenthetical return enumeration is heavy and could arguably live in an output schema if one existed.

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?

No output schema exists, and the description compensates by spelling out the full return object including removed/saved/save_error/note fields. Combined with mutation semantics, idempotency, and selection rules, an agent has everything needed to invoke and interpret the call.

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 either/or selection. The description reinforces the data_table_path-to-SourceTable matching and the OR relationship but adds little beyond what the schema provides; baseline 3 is appropriate.

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?

States a specific verb and resource ('Remove a DataTable source from a UDataRegistry asset') and explicitly positions itself as 'the true inverse of add_data_registry_source'. An agent can distinguish it from add_data_registry_source, clear_data_registry_sources, and the list/get siblings without opening a schema.

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

Usage Guidelines4/5

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

Gives clear context: select by data_table_path or source_index, and it explicitly scopes out subsystem unregistration ('Does NOT unregister from the subsystem'), which is the key ambiguity for this family. It names the inverse sibling but doesn't explicitly say when to prefer it over clear_data_registry_sources, so it stops short of full when/when-not coverage.

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

Deploy Server

Other Tools