Skip to main content
Glama

Worthune Verified Financial Models

patch_household

Apply a collection-level delta to a stored household without resending the whole document: set scalars (filingStatus, state), upsert entries by id (replace or append), remove entries by id. expectedVersion (from get_household) is REQUIRED — a delta is only meaningful against a version you have read. The merged result is validated in full; a delta can never produce an invalid household.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
setNoScalar fields: { filingStatus?, state? } (state: null clears it)
removeNoCollection → ids to remove
upsertNoCollection → entries with ids: replace matching ids, append new ones
api_keyNoWorthune API key (wk_…)
expectedVersionYes

TDQS

A4.6/5.0
Behavior5/5

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

The description adds meaningful behavioral context beyond the annotations: it clarifies that entries are replaced or appended by id, that removals are entry-scoped, that expectedVersion is mandatory, and that the merged result is fully validated. The statement that 'a delta can never produce an invalid household' is a strong, non-obvious guarantee.

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?

Two dense sentences pack the operation, scope, version requirement, and validation guarantee without filler. The core delta semantics are front-loaded, and the expectedVersion warning is placed immediately after the operation description.

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 with nested objects and no output schema, this description covers the operations, versioning prerequisite, and post-validation contract well. It does not mention error behavior on version mismatch or auth-related details, but the essential information needed to call the tool correctly is present.

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?

While the schema already describes set, remove, upsert, and api_key, the description reinforces the semantics and significantly clarifies expectedVersion by explaining why it is required and where to obtain it. It does not elaborate on id or api_key, but those are straightforward; overall it adds useful meaning beyond the schema.

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 uses a specific verb ('Apply a collection-level delta') and identifies the resource ('stored household') while enumerating the exact operations: set scalars, upsert entries, remove entries. It also differentiates itself from full-document replacement by stating 'without resending the whole document', which distinguishes it from the sibling replace_household.

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?

The description clearly states that expectedVersion comes from get_household and is REQUIRED, giving the agent a direct prerequisite and read-before-patch workflow. It does not explicitly name alternatives like replace_household for full replacement, so while context is strong, explicit when-not/alternative guidance is absent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool targets a distinct resource and action: household CRUD, bulk import/mapping, projection/decision, model contract/run/verify, and narrative generation. Even the superficially similar pairs (project_household vs decide_household; run_model vs verify_claim) are clearly separated by their descriptions.

Naming Consistency5/5

All tool names use lowercase snake_case with imperative verb-first naming (create_, get_, patch_, replace_, run_, verify_). Pluralization follows natural semantics (list_models, import_households) without breaking the overall verb_noun pattern.

Tool Count5/5

13 tools is within the ideal range for a domain server. Each tool earns its place: household lifecycle, import tooling, model contract/run/verify, projection/decision, and narration form coherent clusters without redundancy.

Completeness4/5

Core workflows are well covered: create/read/update households, project and decide, list/get/run/verify models, and narrate decisions. Minor gaps remain: there is no delete_household or list_households, and no dedicated get_decision tool for retrieving a stored decision object independently.

Resources