Skip to main content
Glama

Get block

get_block
Read-only

Get a library block's full tree by slug — reference for hand-building with add_nodes. Counts as a use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesBlock slug.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, not open-world). The description adds meaningful context beyond them: 'Counts as a use,' which discloses a quota/billing side effect an agent should know about.

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?

A single tight sentence with the core purpose front-loaded and no wasted words. Both clauses earn their place.

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 simple single-param read tool with full schema coverage and annotations, this is nearly complete; 'full tree' hints at the return shape despite no output schema. Minor gap: no mention of error behavior for unknown slugs.

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 100% for the single slug parameter, so the schema does the documenting. The description only restates 'by slug' without adding format or constraint detail. Baseline 3 applies.

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 (Get) and resource (a library block's full tree) scoped by slug, clearly distinguishing it from siblings like list_blocks, search_blocks, and list_block_nodes. An agent can tell what it returns without opening the schema.

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?

The phrase 'reference for hand-building with add_nodes' gives a concrete use context, linking it to the add_nodes sibling. It doesn't explicitly state when NOT to use it (e.g., vs list_block_nodes or search_blocks), so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources