Skip to main content
Glama
Pseudogiant-xr

PseudoLife-MCP

Official

memory_set_add

Add or confirm a member to a set-valued slot for an entity, supporting multiple concurrent values; converts scalar to set on first call except number-led scalars become contested.

Instructions

Add/confirm a member of a set-valued slot (many concurrent values, not one NOW value). A scalar there converts to a set on first call — one-way — except number-led scalars ("32", "$1,500"), which are protected: the add parks as a contender (action="contested", settle via memory_fact_resolve (core)). Read with memory_fact_get.

Returns: {action, entity, attribute, member, members_count}.

Input Schema

NameRequiredDescriptionDefault
entityYesThe slot's subject.
memberYesThe member to add or re-confirm.
attributeYesThe slot's attribute.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.18.1
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed3 schema fields changedv0.15.0
    • addedInput schema / properties / attribute / description
      Added value: +"The slot's attribute."
    • addedInput schema / properties / entity / description
      Added value: +"The slot's subject."
    • addedInput schema / properties / member / description
      Added value: +"The member to add or re-confirm."
  3. First observedv0.11.0

TDQS

A4.3/5.0
Behavior5/5

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

Annotations declare the safe-write profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), and the description adds substantial beyond-that context: the one-way scalar-to-set conversion on first call, the protected number-led scalars, and the action='contested' parking behavior. This is exactly the kind of side-effect disclosure the 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.

Conciseness4/5

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

Front-loaded with the core action and scope, and the returns block is short. The parentheticals ('32', '$1,500') and em-dash clauses make it dense but every sentence carries information, so it stays efficient.

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?

An output schema exists so return values need not be spelled out, and the description still summarizes them. Conversion semantics, the contested path, and read alternatives are all covered; only explicit permission/auth prerequisites are absent for a non-destructive mutation.

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 100%, so entity/attribute/member are already documented, and the description adds little per-parameter meaning. It clarifies that a 'member' is added or re-confirmed into a set, but the baseline 3 applies when the schema does the heavy lifting.

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 ('Add/confirm a member') and resource ('set-valued slot'), and immediately scopes it against the scalar case ('many concurrent values, not one NOW value'). An agent can tell it apart from memory_fact_set and memory_set_remove without opening a schema.

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?

Gives clear when-to-use context (sets rather than scalar NOW values) and routes the contested case to memory_fact_resolve and reads to memory_fact_get. It does not spell out when NOT to use the tool versus other mutators, but the set/scalar distinction effectively covers the decision.

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