Skip to main content
Glama

highlight_text

Visually pulse-highlight exact text in a Hillnote document to point users to a specific section, opening and scrolling to the first match without modifying the document.

Instructions

Flash a pulsing highlight on text in a document in the running Hillnote app, to point the user at something ("look at this part"). Opens the document and scrolls the first match into view; highlights stay until the user clicks anywhere in the editor. Purely visual — nothing is written to the document. Use exact text from the document; matching is case-insensitive.

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": {
      "workspace": "<workspace>",
      "document": "<document>",
      "text": "<text>"
    },
    "name": "highlight_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoHighlight every occurrence (up to 20) instead of just the first (default false)
textYesExact text to highlight
documentYesDocument ID, title, fileName, or registry path
workspaceYesWorkspace path or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: side effects (opens the document, scrolls the first match into view), lifetime (highlights persist until the user clicks in the editor), and non-persistence (nothing written to the document). It omits what happens when no match is found, which is the one behavioral gap for a text-matching tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, front-loaded with the action and effect, then side effects, then the matching constraint. No filler and nothing redundant with the schema.

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

Completeness4/5

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

For a 4-parameter, fully documented, non-mutating tool with no output schema, this covers nearly everything an agent needs: what it does, its visual-only nature, document opening, and highlight duration. Only the no-match/error case is left unstated.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: matching is case-insensitive and `text` must be exact document text, and "scrolls the first match into view" clarifies default single-match behavior versus the `all` flag (capped at 20 in the schema). That is useful semantics beyond the field descriptions.

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?

States a specific verb and effect ("Flash a pulsing highlight on text in a document in the running Hillnote app") plus the intent ("point the user at something"). The line "Purely visual — nothing is written to the document" separates it cleanly from any content-mutating sibling in the list.

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

Usage Guidelines4/5

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

Gives a clear usage context with an example utterance ("look at this part") and a precondition (the Hillnote app must be running, the document gets opened). It does not name alternatives or state when not to use it, but for a narrow UI-attention tool the context is sufficient to select it confidently.

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