Skip to main content
Glama

ProtoJoint

Change a dimension or parameter

set_parameter

Sets a dimension (by its name, e.g. d3) or a user parameter to a value or an expression such as "width / 2" or "30 deg"; creates a user parameter if the name is new. Everything that depends on it updates.

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": {
      "name": "<name>",
      "value": "<value>"
    },
    "name": "set_parameter"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
valueYesA number (document units) or an expression.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses two meaningful behaviors: an implicit creation occurs when the name is unknown, and 'everything that depends on it updates' warns of cascading model changes from a single set. Note the annotations mark idempotentHint=false, which aligns with that rebuild behavior rather than contradicting it. It still doesn't say what happens on invalid names or expressions, or whether the change can be undone.

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?

A single dense sentence, front-loaded with the action and resources, with concrete examples attached to each parameter. The semicolon chaining makes it slightly run-on, but no clause is filler.

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 two-parameter mutation tool with no output schema, the description covers what can be targeted, accepted value forms, the auto-create behavior, and dependency propagation. Minor gaps remain around return value and error behavior for invalid names or expressions.

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 only 50% (the 'name' parameter is undocumented in the schema), so the description carries real weight: it explains that 'name' accepts a dimension identifier like d3 or a new user-parameter name, and that 'value' accepts a plain number in document units or an expression such as "width / 2" or "30 deg". This meaningfully expands on the schema's brief 'A number (document units) or an expression.'

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 gives a specific verb (sets) and precise resources (a dimension such as d3, or a user parameter), and even specifies the creation side effect for unknown names. It doesn't explicitly contrast itself with siblings like set_part or set_body, but the parameter/dimension scope is unambiguous enough to choose correctly.

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?

Usage is implied by what the tool accepts (dimension name or user-parameter name, number or expression), and the 'creates a user parameter if the name is new' clause hints at the create-vs-update split. There is no explicit when-to-use/when-not guidance or named alternative for other mutation cases.

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