Skip to main content
Glama

Hiringsai — Free AI Tools

tool_apply_text_style

Read-only

Set font, size, color, weight or align on a text layer.

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": {
      "design_id": "<design_id>",
      "layer_id": "<layer_id>"
    },
    "name": "tool_apply_text_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
fontNoFont
sizeNo
alignNoleft|center|right
colorNoColor
weightNonormal|bold
layer_idYesLayer id or name
design_idYesDesign id from create-design

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

C2.7/5.0
Behavior1/5

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

The description states the tool will 'Set font, size, color, weight or align on a text layer', which is a state-mutating operation, yet the annotations declare readOnlyHint=true and destructiveHint=false. This is a direct contradiction that could cause an agent to call it believing no state changes occur, or to avoid it believing nothing will be written.

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 front-loaded sentence with no filler, which is efficient. It is arguably over-compressed for a seven-parameter design-mutation tool, but no sentence is wasted.

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?

With seven parameters, no output schema, and an annotation set that conflicts with the described behavior, the agent needs to know what is returned, whether unspecified style properties are kept or reset, and what happens if the layer id is wrong. None of that is covered, leaving a mutation-style tool substantially under-described.

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 86%, so the schema already documents every parameter including design_id's origin and the align/weight value hints. The description only restates the property names in prose and adds no format, default, or interaction semantics (e.g., whether omitted properties are preserved). Baseline 3 applies when the schema carries the weight.

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 (Set) and enumerates the exact resources it controls (font, size, color, weight, align) scoped to 'a text layer', which is enough to distinguish it from tool_add_text. It stops short of naming any sibling explicitly, so it earns a 4 rather than a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance: it never says whether the text layer must already exist, whether it can be combined with tool_add_text in one step, or when to prefer tool_apply_brand_kit/tool_apply_template for typography. The agent is left to infer the entire workflow context from the tool name.

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.