Skip to main content
Glama

scroll_to

Scroll a Hillnote document to a heading or text so users can see that section in the editor, with an optional pulsing highlight. Use it to show or find a section instead of only quoting it.

Instructions

Take the user to a part of a document: scroll it in the running Hillnote app to a heading or text so they can see it — opens the document in the main editor first if needed. Use this whenever they ask to see, find or go to a section ("show me the Risks section", "where does it say…"), rather than only quoting it. By default the target gets a pulsing highlight that stays until the user clicks anywhere in the editor. Matching is case-insensitive; use exact text from the document (read_document first if unsure). Fails with a clear error if the heading/text is not found.

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>"
    },
    "name": "scroll_to"
  }
}

Input Schema

NameRequiredDescriptionDefault
textNoExact text to scroll to (first occurrence). Provide heading, text, or anchorId.
headingNoA heading to scroll to (exact or partial match). Provide heading, text, or anchorId.
anchorIdNoA section-anchor id in the document ([text]{#id} marks, or the fragment of a doc:…#id link) to scroll to. Provide heading, text, or anchorId.
documentYesDocument ID, title, fileName, or registry path
highlightNoPulse-highlight the target until the user clicks (default true)
workspaceYesWorkspace path or name

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so: it discloses the editor-opening side effect, the default pulsing highlight and its persistence ('stays until the user clicks anywhere in the editor'), case-insensitive matching, and failure behavior ('clear error if the heading/text is not found'). These are exactly the traits an agent cannot infer from the schema.

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?

Front-loaded with the core action and the side effect, and every sentence carries information an agent needs. The em-dash chaining and the illustrative parentheticals make it slightly dense, but there is no filler sentence.

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 6-parameter mutation-ish navigation tool with no annotations and no output schema, the definition covers side effects, defaults, matching rules, and error behavior. The only gap is that it does not say what a successful call returns or reports to the agent, which matters slightly given the absence of an output schema.

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 a baseline of 3 applies, but the description adds real meaning: case-insensitive matching, exact-text requirement, first-occurrence behavior, and the highlight default with its dismissal rule. The workspace/document pairing is left to the schema, which is adequate.

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 resource ('scroll it in the running Hillnote app to a heading or text') plus the visible side effect ('opens the document in the main editor first if needed'). The distinction from simply retrieving content ('rather than only quoting it') makes the tool separable from read_document without opening either schema.

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

Usage Guidelines5/5

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

Explicit when-to-use with concrete trigger phrasings ('show me the Risks section', 'where does it say…') and an explicit when-not ('rather than only quoting it'). It also names the prerequisite path for ambiguous input: 'use exact text from the document (read_document first if unsure).'

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