Skip to main content
Glama

Pick a colour

pick_color

Set an input of type color by element ID through its own picker, using a #rrggbb value.

Instructions

Sets an input of type color through its own picker. value as #rrggbb.

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

Input Schema

NameRequiredDescriptionDefault
idYesAn element id from a listing, such as a12.
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries full behavioral burden and does disclose one useful trait: the value is applied via the element's own picker rather than by direct input simulation. It omits whether a picker surface/dialog appears, whether change/input events fire, and how failures on non-color elements are reported — meaningful gaps given a sibling 'dialog' tool exists.

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, front-loaded fragments with no filler, and the core action leads. The second fragment ("value as #rrggbb") is verbless and slightly telegraphic, costing a little clarity for its brevity.

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 two-parameter, no-output-schema tool this is nearly adequate, but it leaves out what an agent needs to call it reliably: whether the picker interaction is synchronous, what error surfaces for a non-color element, and whether the id must come from a prior listing call.

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 50%: 'id' is documented in the schema as a listing element id (e.g. a12), while 'value' has only a regex pattern. The description partly compensates by stating the human-readable "#rrggbb" format for value, but adds nothing about id sourcing or lookup.

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 ("Sets") and a specific resource ("an input of type color"), which distinguishes it from the generic 'type' sibling that would target other inputs. The added detail that it goes "through its own picker" further narrows what this tool uniquely does.

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 only implied: an agent can infer this is for color inputs rather than text fields, but the description never says when to prefer it over 'type' or 'select', nor what happens if the element is not a color input. No explicit when-not or alternative routing is given.

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