Skip to main content
Glama

Add a family member

add_family_member
Destructive

Adds a dependent or a pet to the customer's My Family page. Call describe_family_form for the fields and the module_state first. Confirm the values 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": {
      "kind": "<kind>",
      "fields": "<fields>"
    },
    "name": "add_family_member"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesdependent or pet.
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.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and non-idempotent, and the description goes well beyond them: the write can restart the couple's alignment and email the partner, the customer must consent first, and expected_module_state acts as a concurrency guard that saves nothing and returns the new state on mismatch. It also specifies exactly how to report alignment_restarted and partner_emailed, which annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the middle is repetitive: the alignment-restart/partner-email warning is stated once as a pre-call requirement and again as a post-call reporting rule, and the 'when a value is false, say nothing' and 'answer from the results of all the writes' sentences could be consolidated. Length is defensible for a destructive multi-step tool, but the redundancy costs it.

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 write with a nested free-form fields object and an output schema, the description covers the prerequisite read, the consent gate, the concurrency guard, and how to interpret the returned flags. An output schema exists, so return-value documentation is appropriately delegated.

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?

Schema coverage is 100%, so baseline is 3, but the description adds workflow meaning by instructing the agent to send the module_state it read as expected_module_state 'also when it is open' — a usage rule rather than a restatement. It adds little about the fields object beyond pointing to the describe tool, which the schema already covers.

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 first sentence gives a specific verb and resource ('Adds a dependent or a pet to the customer's My Family page') and the schema-level enum makes the two kinds explicit. It is clearly distinguishable from the sibling write tools update_family_member and delete_family_member, which mutate or remove rather than add.

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?

It states real preconditions: call describe_family_form for the fields and module_state first, and confirm values with the customer before calling. It also gives conditional guidance for the edit_restarts_alignment state. It stops short of naming when to use update_family_member instead, so the alternative-selection guidance is not complete.

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