Skip to main content
Glama

Worthune Verified Financial Models

replace_household

Full-document replace with optimistic concurrency: pass expectedVersion (from get_household) and a stale write loses cleanly with the current version instead of clobbering a concurrent change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
labelNo
api_keyNoWorthune API key (wk_…)
householdYesReplacement household-schema document
expectedVersionNo

TDQS

A4.2/5.0
Behavior4/5

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

The description meaningfully adds conflict behavior beyond the annotations: full-document replacement and stale writes failing cleanly with the current version rather than clobbering. No contradiction with the provided false readOnly/idempotent hints; it leaves out auth/rate-limit detail, but annotations already carry the safety profile.

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?

One dense sentence front-loads the operation and then explains the concurrency contract with no filler. Every clause adds useful decision-relevant 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?

For a 5-parameter mutating tool with no output schema, the description covers the essential workflow: what is replaced, where expectedVersion comes from, and what happens on conflict. It does not describe the success/error return shape, but that is not needed to select or invoke the tool correctly in most agent workflows.

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 only 40%, and the description compensates for the most important parameter (expectedVersion, sourced from get_household) while 'full-document replace' gives household meaning. It does not explain id, label, or api_key, though api_key is described in the schema; the optionality of expectedVersion in the schema is also left implicit.

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 action ('full-document replace') on a clear resource (household), and the optimistic-concurrency qualifier sets it apart from create/partial-update siblings. The phrase 'replace' and reference to get_household make the resource and workflow unambiguous.

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?

Clear context tells an agent that this is for replacing an existing household and that expectedVersion should come from get_household to avoid clobbering concurrent changes. It does not explicitly name alternatives such as create_household or project_household or state when to prefer them, so it stops short of a 5.

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