Skip to main content
Glama

set_kind

Change what a node is: typed values become a formula, or the reverse. Supply what the new kind needs — a formula for calculated or check (plus an expectation for a check), values for an input, a number for a constant. What the old kind carried is recorded so the change can be undone.

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": {
      "model": "<model>",
      "name": "<name>",
      "to": "<to>"
    },
    "name": "set_kind"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
nameYes
modelYesModel uid (`model_…`), from model_list.
expectNoWhat a check asserts about its formula's value: `op` is ==, <=, >=, <, > against `value` (default 0), or `between` `low` and `high`. `severity` error blocks green; warning leaves the model green with a warning.
valuesNoAs for set_values.
formulaNo
constantNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / values / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  },
      +  {
      +    "items": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "array"
      +  },
      +  {
      +    "additionalProperties": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "type": "object"
      +  }
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations supply the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower. The description still adds real behavior: the previous kind and its carried data are recorded so the change can be undone, which explains the destructiveHint=false in a concrete way. It does not discuss effects on dependents of the node or any failure modes.

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 tight sentences: the behavior is front-loaded, then a conditional supply list, then the undo guarantee. Dense but no wasted clauses; the em-dash list is efficient for five mutually exclusive branches.

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 non-idempotent mutation with no output schema and only 43% parameter description coverage, the definition gives enough to call it correctly: which fields each target kind demands and that the change is reversible. Gaps remain on identifying the node (name) and on side effects, but nothing critical to invocation is absent.

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 43%, and the description usefully maps conditional requirements onto parameters: formula for calculated/check, expect for check, values for input, constant for constant. However, it says nothing about 'name' or 'model' (the latter is only covered by the schema's own 'from model_list' note), leaving part of the required surface unexplained.

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?

States a specific verb and resource ('Change what a node is') and enumerates the target kinds (typed values, formula, check, input, constant), so an agent can distinguish it from sibling mutators like set_formula or set_values, which edit contents rather than re-type the node. It never explicitly contrasts itself with those siblings, keeping it out of 5 territory.

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?

Guidance is about what to supply per target kind rather than when to choose this tool over set_formula/set_values directly, which is only implied by the 'become a formula' framing. There are no exclusions or prerequisites (e.g. permissions, locked nodes) stated.

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