Skip to main content
Glama
german-borisevich

Apache Zeppelin MCP Server

get_paragraph_code

Read-onlyIdempotent

Retrieves only the code/text content of a specified paragraph, excluding outputs and forms, to reduce response size when you need just the code.

Instructions

Get only the code/text content of a paragraph, without output or forms. Use this instead of get_paragraph when you only need to read the code to save on output size.

Args:
    notebook_id: The notebook ID containing the paragraph
    paragraph_id: The paragraph ID to retrieve

Input Schema

NameRequiredDescriptionDefault
notebook_idYes
paragraph_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds the useful disclosure that the payload omits outputs and forms, which explains the smaller response; it does not cover truncation or error behavior, but that is minor for a simple read.

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?

The routing guidance and the core verb are front-loaded in the first two sentences, and the Args block is short. No wasted prose.

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?

An output schema exists, so return shape needn't be spelled out, and the description covers scope, the alternative, and both parameters. A brief note on what happens with non-code paragraph types would round it out.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries the burden and does list both parameters in an Args block. However the annotations are near-tautological ('The paragraph ID to retrieve'), adding little beyond the parameter names and 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 ('Get only the code/text content of a paragraph') plus an explicit exclusion ('without output or forms'), which separates it cleanly from get_paragraph and get_paragraph_forms among the many paragraph siblings.

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?

Names the alternative explicitly ('Use this instead of get_paragraph') and gives the condition that selects it ('when you only need to read the code') along with the reason (output size). Nothing is left to inference.

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