Skip to main content
Glama

Change a care level

set_care_preferences
DestructiveIdempotent

Sets the level one care program runs at on one site (get_care_status lists the levels the owner may choose). Only owners and admins can. A program with a lowest level (security) cannot go below it: the answer names that level. The change is kept with the person's reason in the site's care history.

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": {
      "project_id": "<project_id>",
      "program_id": "<program_id>",
      "level": "<level>",
      "reason": "<reason>"
    },
    "name": "set_care_preferences"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelYesOne of the levels get_care_status lists for the program.
reasonYesWhy, in a sentence: kept in the site's care history.
program_idYesThe care program (get_care_status lists them).
project_idYesThe site (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag this as a non-read-only, destructive, idempotent mutation, and the description adds substantial context beyond them: the authorization requirement, the minimum-level guardrail, and that the rejected answer names the blocking level. It also discloses that the change is persisted with the caller's reason in the site's care history, though it does not spell out what downstream behavior shifts when the level changes.

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?

Four short sentences, front-loaded with the core action, and every sentence carries distinct information (scope, authorization, floor constraint, audit trail). The fragment 'Only owners and admins can.' is slightly clipped, but nothing is wasted.

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?

For a five-parameter mutation with no output schema, the description covers scope, permissions, the key failure constraint, and the side effect of recording a reason. The only mild gap is what the successful answer returns beyond the floor-violation case, which is minor given a fully described schema.

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 each parameter, including that reason is kept in care history and level comes from get_care_status. The description largely restates those points rather than adding format, ordering, or constraint detail beyond the schema, so the baseline 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 with scope: 'Sets the level one care program runs at on one site.' It also names the sibling get_care_status as the source of valid levels, so an agent can separate this mutation from the read-only status tool without opening either 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 real usage context: restricted to owners and admins, levels must come from get_care_status, and a program with a security floor cannot be set below it. There is no explicit when-not-to-use or alternative sibling, which keeps it short of a 5.

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