Skip to main content
Glama

gh_set_slider

Set a Grasshopper number slider by nickname and solve the definition, returning the previous value so you can restore it later.

Instructions

Set a number slider by nickname and solve. Returns the value before, so you can put it back.

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

Input Schema

NameRequiredDescriptionDefault
solveNo
valueYes
nicknameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses that the prior value is returned, enabling reversal, but says nothing about whether a solve triggers downstream recomputation, what happens if the nickname does not exist or is ambiguous, or whether the change is persisted to the document.

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?

Two short sentences, front-loaded with the action and followed by the useful return-value note; nothing is padded. It is terse to the point that 'solve' is left undefined, but that is a completeness issue rather than wordiness.

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

Completeness2/5

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

For a mutation tool with no annotations, no output schema, and 0% schema description coverage, the definition is thin: solve's semantics and default, failure modes on an unknown nickname, and the side effects on the solved definition are all unaddressed. Only the return-value behavior is filled in.

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 description coverage is 0%, so the description must compensate for three undocumented parameters. It does clarify that nickname identifies the slider and that the slider is numeric, but the 'solve' boolean is only gestured at ('and solve') with no indication of its default, and no parameter defaults or error conditions are described.

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 concrete verb+resource pair: 'Set a number slider by nickname', which tells an agent the target is a numeric slider addressed by nickname rather than by index or GUID. It also notes the solve side effect, giving some separation from the standalone gh_solve sibling, though it never names that sibling explicitly.

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 the 'Returns the value before, so you can put it back' clause, which hints at a read-modify-restore workflow. There is no explicit statement of when to use this instead of gh_solve or gh_apply, and no prerequisites or exclusions are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.