Skip to main content
Glama

set_record_members

DestructiveIdempotent

Admin only. Link people to a record for rules with mode 'assigned' (e.g. the project leader and sampler of a project). add / remove are lists of user ids.

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": {
      "resource": "<resource>",
      "record_id": "<record_id>"
    },
    "name": "set_record_members"
  }
}

Input Schema

NameRequiredDescriptionDefault
addNoUser IDs to link to the record
removeNoUser IDs to unlink from the record
resourceYesTable of the record
record_idYesID of the record
role_hintNoOptional label, e.g. 'projektleitung', 'probenahme'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / add / description
      Added value: +"User IDs to link to the record"
    • addedInput schema / properties / record_id / description
      Added value: +"ID of the record"
    • addedInput schema / properties / remove / description
      Added value: +"User IDs to unlink from the record"
    • addedInput schema / properties / resource / description
      Added value: +"Table of the record"
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description's job is to add context — and 'Admin only' does add a meaningful authorization prerequisite. The critical gap is that it never says whether add/remove are applied incrementally to existing members or whether the supplied list defines the full membership set, which materially affects a destructive operation.

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?

Three short sentences with the authorization gate front-loaded and no filler. The final sentence largely repeats the schema's own parameter descriptions, so it is slightly wasteful, but overall the text is tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter destructive mutation with no output schema, the definition covers the admin requirement and the membership use case but leaves the incremental-vs-replacement semantics and the role_hint's effect unexplained. Adequate to call, but not complete enough to predict the outcome confidently.

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%, so the schema already documents add, remove, resource, record_id, and role_hint. The description restates that add/remove are lists of user ids, adding no syntax, ordering, or limit guidance beyond the schema; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific action and resource: linking and unlinking people to a record for 'assigned'-mode rules, with a concrete example (project leader and sampler). It is distinguishable from siblings such as set_record_labels or add_record_note, though the phrase 'rules with mode assigned' is domain jargon an outsider may not fully parse.

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

Usage Guidelines3/5

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

It supplies a real precondition ('Admin only') and contextualizes the operation as applying to rules with mode 'assigned'. However, it never states when to use this versus alternatives, nor what happens if the rule is not in 'assigned' mode — usage is implied rather than spelled out.

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.