Skip to main content
Glama

spring_reference

Read Spring Boot reference sections or subsections as clean Markdown by resolving names against the docs navigation tree, with version selection and optional token limits.

Instructions

Read a Spring Boot reference section or subsection as clean markdown.

section / subsection are resolved against the documentation's own navigation tree, so "web", "data"+"sql", "using"+"auto-configuration", "how-to"+"actuator" and "installing" all work, and a name that does not exist comes back with the sections that do. Resolution is offline when the index is cached, so no request is wasted guessing a URL and getting a 404.

When subsection is not a page of its own, the section page is returned with only the matching heading section kept (plus title and description) — the same behaviour as java_docs(topic=...) — and a "note" lists the available headings when nothing matches.

version (e.g. "4.1") reads that docs line; omitted reads the latest. max_tokens truncates the markdown to roughly that many tokens (estimated as len(text)//4) at a line boundary and sets "truncated".

On failure returns {"error", "suggestion", "candidates"}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sectionYes
versionNo
max_tokensNo
subsectionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.7/5.0
Behavior5/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 so: it discloses offline resolution when the index is cached, that max_tokens truncates at a line boundary and sets a 'truncated' flag, that narrowing keeps only the matching heading section plus title/description, and that failure returns {"error", "suggestion", "candidates"}. These are behavioral traits well beyond a bare read.

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 purpose and organized by parameter, with each paragraph earning its place. It is somewhat long and mildly discursive ('no request is wasted guessing a URL and getting a 404'), but the length is justified by the amount of non-obvious behavior being documented.

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

Completeness5/5

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

No output schema and no annotations, so the description must cover everything, and it does: purpose, parameter semantics, resolution fallback, truncation, and failure payload. An agent has enough to call the tool correctly and interpret both success and error results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/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 compensate, and it does for every parameter: section/subsection resolution semantics, version ('e.g. "4.1"', omitted reads latest), and max_tokens including the estimation formula (len(text)//4) and the resulting 'truncated' flag. This adds far more meaning than the bare schema types.

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 ('Read a Spring Boot reference section or subsection as clean markdown') and explains exactly what 'section'/'subsection' resolve against. It also positions itself relative to java_docs by saying the narrowing behavior is 'the same behaviour as java_docs(topic=...)', letting an agent distinguish it from siblings without opening both schemas.

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 concrete usage context: valid resolution examples ('web', 'data'+'sql', 'how-to'+'actuator'), behavior when subsection is not its own page, and the note fallback when nothing matches. However, it never states when to reach for this tool over spring_guides, spring_search_concepts, or spring_search_concepts for discovering section names, so explicit alternatives/exclusions are absent.

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