Skip to main content
Glama

Set Record Group

set_record_group

File one or more properties or clients under one of the calling broker's own private groups, or take them out with group: null. A group is just a label: a new name creates it, and a name matching an existing group apart from case joins that group. Each record sits in at most one group, so this MOVES a record that is already in another. The groups are PRIVATE to the broker: never tell the user a co-broker or colleague will see them. record_type is "property" or "client"; record_ids are propertyid or client (prospect) ids. Requires participation on every record; the result names the group stored and any ids that were refused. Changes how the broker's lists are organised (not the records themselves) — confirm the group name with the user first.

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": {
      "record_type": "<record_type>",
      "record_ids": "<record_ids>",
      "group": "<group>"
    },
    "name": "set_record_group"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupYesThe group name, e.g. "2027 pitches". null takes the records out of whatever group they are in.
record_idsYesThe propertyids or client (prospect) ids to file.
record_typeYes"property" (a listing) or "client" (a represented party).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations, it discloses that groups are private to the broker and must never be described as visible to colleagues, that membership is exclusive so this MOVES a record out of a prior group, that matching is case-insensitive, that participation is required per record, and that refused ids are returned. These are exactly the behavior facts the annotations (readOnlyHint=false, destructiveHint=false, openWorldHint=false) do not convey.

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 action, then semantics, then the privacy and confirmation cautions; nearly every sentence carries distinct information. It is dense but slightly overstuffed, with the privacy warning and the move semantics competing for emphasis in one paragraph.

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?

There is no output schema, and the description compensates by telling the agent the result names the stored group plus any refused ids. For a 3-param write tool with no output schema, that plus the privacy and confirmation guidance covers what an agent needs to call it correctly.

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 a baseline of 3 is warranted, but the description adds real meaning: group names create-on-write and match case-insensitively, null clears membership, and record_type/record_ids are tied to propertyid vs client (prospect) id domains. It omits the 200-id cap and 60-char limit, but those live in 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 opens with a specific verb and resource: filing properties or clients into the calling broker's own private groups, or removing them with group: null. It also names what the tool is not ("A group is just a label", "not the records themselves"), which lets an agent distinguish it from record-mutation siblings.

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 clearly states the when (filing/unfiling a record into a private group), the removal path (group: null), and a prerequisite ("confirm the group name with the user first"). It does not name any alternative tool to use instead when the record is not yet identified, but the selection context is otherwise unambiguous.

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