Skip to main content
Glama

gradle-get-details

Read-onlyIdempotent

Retrieve complete output from previous builds or tests using their ID. Filter by logs, errors, tasks, or all details, with options to truncate or summarize.

Instructions

Fetch full output for a previous build/test by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
detailTypeYesall
maxCharsNoTruncate to N chars
summaryOnlyNoReturn compact summary payload for logs/tasks/all detail types (ignored for errors)
previewCharsNoFor summaryOnly with detailType logs/all: preview length in characters (default: 400)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv1.6.7
    • addedInput schema / properties / detailType / default
      Added value: +"all"
    • addedInput schema / properties / maxChars / minimum
      Added value: +1
    • addedInput schema / properties / previewChars / minimum
      Added value: +1
    • changedInput schema / required
      Previous value: -[
      -  "id"
      -]New value: +[
      +  "id",
      +  "detailType"
      +]
  2. Changed5 schema fields changedv1.0.1
    • removedInput schema / properties / detailType / description
      Removed value: -"Type of details to retrieve"
    • removedInput schema / properties / id / description
      Removed value: -"Build or test ID from previous operation"
    • addedInput schema / properties / maxChars
      Added value: +{
      +  "description": "Truncate to N chars",
      +  "type": "number"
      +}
    • addedInput schema / properties / previewChars
      Added value: +{
      +  "description": "For summaryOnly with detailType logs/all: preview length in characters (default: 400)",
      +  "type": "number"
      +}
    • addedInput schema / properties / summaryOnly
      Added value: +{
      +  "description": "Return compact summary payload for logs/tasks/all detail types (ignored for errors)",
      +  "type": "boolean"
      +}
  3. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, covering key behavioral traits. The description adds 'full output' but doesn't elaborate on truncation via maxChars or summaryOnly options, or on rate limits.

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?

Single 8-word sentence is very concise and front-loaded. However, it omits useful details that could be included without exceeding reasonable length.

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?

Given the complexity (5 parameters, no output schema), the description does not explain return values or how to interpret output. It lacks details on how summaryOnly, maxChars, and previewChars affect behavior, making it incomplete for effective use.

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

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 60% schema coverage, 2 parameters (id, detailType) lack schema descriptions. The description does not mention any parameters or their meaning, failing to compensate for missing schema explanations.

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?

Description clearly states the tool fetches full output for a previous build/test by ID, using 'Fetch' as the verb and 'full output' as the resource. It distinguishes from sibling tools like gradle-build (creates builds) and gradle-list (lists builds), but does not explicitly differentiate.

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., gradle-list, gradle-test). The description implies you need an ID but doesn't specify prerequisites or scenarios where other tools are more appropriate.

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