Skip to main content
Glama

goodnotes_set_shape_style

Destructive

Set fill opacity and stroke thickness for a prepared native shape without changing its color, pattern, or geometry; verify the style after reload.

Instructions

Set a prepared native shape fill opacity (0 to 100 in steps of 10; 0 disables fill) and/or stroke thickness (0.10 to 2.00 mm). Preserves existing color, pattern and geometry; verifies values and appearance after reload.

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": {
      "styleId": "<styleId>",
      "style": "<style>",
      "operationId": "<operationId>"
    },
    "name": "goodnotes_set_shape_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleYes
styleIdYes
operationIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.21.1

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true; the description usefully narrows that, explaining the operation is a partial update that 'preserves existing color, pattern and geometry', and that it verifies values and appearance after reload. That post-write verification note is real behavioral context an agent could not get from annotations. It omits error/failure behavior, so it falls short of 5.

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 sentences, front-loaded with the mutating action and its valid ranges, followed by side-effect and verification notes. Dense but each clause contributes; the numeric ranges partially duplicate schema constraints, which is the only real redundancy.

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 destructive, open-world mutation with a nested object, three required parameters, no output schema, and zero schema description coverage, the description covers the effect on the target shape well but leaves the identity/lifecycle parameters (styleId provenance, operationId purpose) and error handling unexplained.

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 carry parameter meaning. It does well for the two style sub-fields, restating ranges with added semantics ('0 disables fill', steps of 10, 0.10–2.00 mm) and the 'and/or' optionality. However, the two other required parameters, styleId (beyond the vague 'prepared native shape') and especially operationId, receive no explanation at all.

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: set fill opacity and/or stroke thickness on a 'prepared native shape' referenced by styleId. An agent can distinguish this styling mutation from the sibling read tool (goodnotes_shape_style_info) and from folder/text-box style setters by the resource named. It stops short of an explicit sibling contrast, so a 4 rather than 5.

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?

The word 'prepared' hints at a precondition (a shape/style handle must already exist), but the description never states when to call this versus goodnotes_shape_style_info or the other set_*_style tools, nor what to do if the styleId is unknown. Usage is implied by the phrasing rather than spelled out.

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

Deploy Server

Other Tools