Skip to main content
Glama

Change a family member

update_family_member
Destructive

Changes the fields of one of the customer's own dependents or pets. Take the id and the module_state from list_family_members. Give only the fields that change. Confirm the change with the customer before you call this tool. When module_state is edit_restarts_alignment, also tell the customer that the change restarts the alignment of the couple and can email the partner, and get a yes. After an asset, family, or allocation write, tell the customer that the alignment restarted when alignment_restarted is true. Tell the customer that the partner got an email when partner_emailed is true. When a value is false, say nothing about it. When the customer asks about these values, answer from the results of all the writes in this conversation. Send the module_state that you read as expected_module_state, also when it is open.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "fields": "<fields>"
    },
    "name": "update_family_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe id from the list tool. Only an own row of the customer.
fieldsYesThe values of the form, by the field keys of the describe tool. Give each currency amount in US dollars, with up to 2 decimals. The amount of a debt is positive.
expected_module_stateNoThe module_state that you read from the list or describe tool of this module, also when it is open. When the state is now different, the tool saves nothing and gives the new state.

Output Schema

NameRequiredDescriptionDefault
statusYes
app_urlYes
family_memberYes
partner_emailedYesTrue when the partner got an email that the alignment restarted.
alignment_restartedYesTrue when the write restarted the alignment of the couple.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description goes further and names the concrete side effects: the couple's alignment restarts, the partner may be emailed, and a stale module_state causes the write to save nothing and return the new state.

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-loads purpose and prerequisites before the conditional messaging rules, and nearly every sentence carries an actionable instruction. It is on the long side, with a few sentences about post-write conversational reporting that sit at the edge of this tool's scope.

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?

For a destructive, non-idempotent write with a nested fields object, the definition covers sourcing inputs, the confirmation requirement, the concurrency token, and the resulting side-effect flags. Return values are already covered by the output schema, so nothing essential is missing.

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%, and the schema already documents that id comes from the list tool, that fields are keyed by the describe tool's keys, and that expected_module_state must always be sent. The description largely restates these, adding only modest reinforcement of partial-update semantics, so the baseline of 3 applies.

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 ('Changes the fields of one of the customer's own dependents or pets') and pins the scope to the customer's own rows, which cleanly separates it from add_family_member, delete_family_member, and list_family_members.

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

Usage Guidelines5/5

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

Gives an explicit prerequisite workflow (take id and module_state from list_family_members), an explicit input rule (give only the fields that change), and a mandatory confirmation gate before calling, plus a special branch for edit_restarts_alignment requiring a 'yes'.

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.

Resources