Skip to main content
Glama

update_schema_incremental

Incrementally update your data schema by adding new fields, immediately activating the new version, and optionally backfilling historical data through migration of raw fragments to observations.

Instructions

Incrementally update a schema by adding new fields from raw_fragments or agent recommendations. Creates new schema version and activates it immediately, so all new data stored after this call will use the updated schema. Optionally migrates existing raw_fragments to observations for historical data backfill.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_typeYesEntity type to update
fields_to_addNoFields to add to schema
fields_to_removeNoField names to remove from schema (triggers major version bump). Observation data is preserved; fields can be restored by re-adding them later.
schema_versionNoNew schema version (auto-increments if not provided)
user_specificNoCreate user-specific schema variant (default: false)
user_idNoUser ID for user-specific schema (required if user_specific=true)
activateNoActivate schema immediately so it applies to new data (default: true). If false, schema is registered but not active.
migrate_existingNoMigrate existing raw_fragments to observations for historical data backfill (default: false). Note: New data automatically uses updated schema after activation, migration is only for old data.
Behavior4/5

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

With no annotations, the description carries full burden. It discloses creation of new schema version, immediate activation, optional migration of existing raw_fragments to observations, and preservation of observation data when removing fields. However, it does not detail version history or the effect on existing observations.

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 extremely concise at three sentences, front-loading the core purpose, then activation behavior, then migration option. Every sentence adds value without redundancy.

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?

Given 8 parameters and no output schema, the description covers the main workflow: incremental update, activation, and migration. It mentions behavioral details like observation preservation on removal. However, it could be more complete by addressing error conditions, idempotency, or versioning specifics.

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?

Input schema has 100% description coverage, so baseline is 3. The description adds context about 'raw_fragments or agent recommendations' and 'historical data backfill', but these are already implied by the schema descriptions. No significant new semantic value is added beyond what the schema provides.

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 clearly states the tool incrementally updates a schema by adding fields from raw_fragments or agent recommendations, creating a new version and activating it. This is a specific verb+resource+approach, distinguishing it from siblings like register_schema or analyze_schema_candidates.

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?

The description implies usage for incremental updates but does not explicitly provide guidelines on when to use this tool versus alternatives like register_schema or analyze_schema_candidates. No when-not or exclusion criteria are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/markmhendrickson/neotoma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server