Skip to main content
Glama

set_run_highlight

Set the highlight color of a specific run in a paragraph by providing the paragraph ID, zero-based run index, and a color name like yellow or green.

Instructions

Set highlight color of a specific run in a paragraph.

Args: para_id: paraId of the target paragraph. run_idx: Zero-based index of the run. color: Word highlight color name (e.g., "yellow", "green", "cyan", "none").

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
para_idYes
run_idxYes
colorYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as whether the highlight is applied as a background or highlighter, what happens if the run doesn't exist, or if the operation is idempotent. Minimal transparency beyond the basic function.

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?

The description is short and front-loaded with the main purpose. The parameter list in Args format is efficient. However, it could be slightly more structured (e.g., bullet points) but is not verbose.

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 and an output schema (not provided), the description lacks important context such as side effects, error handling, and whether the document must be open. It is incomplete for reliable use.

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?

The description adds meaning to parameters beyond the schema property names: explains run_idx is zero-based and provides color examples. This compensates for the 0% schema description coverage, though it could be more exhaustive (e.g., full list of valid colors).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Set'), the resource ('highlight color of a specific run in a paragraph'), and is specific enough to distinguish from sibling tools like set_run_color. It provides the exact parameters needed.

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?

No guidance on when to use this tool versus alternatives (e.g., set_run_color for font color) or prerequisites (e.g., knowing the run index or paraId). The description lacks any usage context.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SecurityRonin/docx-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server