Skip to main content
Glama

add_data_registry_source

Attach a DataTable to a UDataRegistry by creating an owned DataRegistrySource and appending it to the registry's source list; the table RowStruct must match the registry ItemStruct.

Instructions

Attach a DataTable source to a UDataRegistry. Creates a UDataRegistrySource_DataTable (owned by the registry) pointing at the given DataTable and appends it to the registry's source list. The DataTable RowStruct must match the registry's ItemStruct.

Returns: { registry_path: string, data_table_path: string, source_name: string, success: bool, precache: bool, source_count: int, saved: bool, save_error: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
precacheNobool, enables synchronous cached lookups (default true).
registry_pathYesContent path to the UDataRegistry asset.
data_table_pathYesContent path to the source UDataTable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations declare the safety profile (readOnly=false, destructive=false, idempotent=false), but the description adds meaningful behavior: it creates an object owned by the registry, appends to the source list (implying repeated calls accumulate entries), and states a data-shape precondition. It does not explicitly call out the non-idempotent append-accumulation consequence, keeping it from a 5.

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 the action, then elaboration, a constraint sentence, and a returns block. Every sentence carries information, though the inline Returns enumeration is somewhat verbose for a no-output-schema tool.

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?

For a mutation tool with no output schema, the description helpfully enumerates the return fields (source_count, saved, save_error) and states the precondition and ownership semantics. Params are fully covered by the schema. It is close to complete, missing only explicit sibling routing.

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 coverage is 100%, so all three parameters are already documented, establishing a baseline of 3. The description adds only the RowStruct/ItemStruct relationship tied to data_table_path; it adds little syntax or format meaning beyond the schema.

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?

States a specific verb and resource (attach a DataTable source to a UDataRegistry) and elaborates on the created UDataRegistrySource_DataTable being owned by the registry and appended to its source list. This clearly separates it from remove_data_registry_source and clear_data_registry_sources via the 'add/attach/append' verb, though it never names those alternatives explicitly.

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?

Provides a real usage constraint — 'The DataTable RowStruct must match the registry's ItemStruct' — which an agent needs before calling. However, it gives no explicit when-to-use/when-not guidance or routing to sibling tools, leaving usage only partly implied.

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