Skip to main content
Glama
notion-full-mcp
by cphoskins

download_image_block

Downloads an image from a Notion image block to a local path, handling external, hosted, and uploaded sources while refreshing short-lived signed URLs at call time.

Instructions

Download the image file from an image block to a local path.

Works for all three image source types: external URL, Notion-hosted file, and file_upload references. Notion-hosted URLs are signed and short-lived, so this tool re-fetches them at call time.

Args: block_id: The image block to download from. output_path: Local path to write the image to.

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": {
      "block_id": "<block_id>",
      "output_path": "<output_path>"
    },
    "name": "download_image_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
block_idYes
output_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=true, destructive=false, so the agent knows this writes locally and goes to the network. The description adds real value beyond that: signed Notion URLs are short-lived and are re-fetched at call time, which explains a failure mode an agent would otherwise misdiagnose. It omits overwrite behavior and error semantics, keeping it from a 5.

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?

Purpose is front-loaded in the first sentence, followed by the source-type applicability and the signed-URL caveat, then a short Args block. Every sentence carries information; there is no filler or restatement of the title.

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?

The tool is simple (two required string params), an output schema exists so return values need not be described, and annotations cover the safety profile. What remains uncovered is file-overwrite behavior and error conditions, which would matter in practice but don't block a correct call.

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 must carry both parameters. It does so, but minimally: 'block_id: The image block to download from' and 'output_path: Local path to write the image to' essentially restate the names. It doesn't say whether output_path may be relative, whether parent directories are created, or what happens if the file already exists.

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?

The description gives a specific verb and resource ('Download the image file from an image block to a local path'), which is unambiguous. It also scopes the tool to all three image source types. It stops short of naming a sibling it contrasts with (e.g. replace_image_block or upload_image_as_block), so it doesn't fully differentiate, but the operation is clear.

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

Usage Guidelines3/5

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

Applicability is covered well: it explicitly says it works for external URL, Notion-hosted file, and file_upload references, which tells the agent it doesn't need to branch per source type. There is no explicit when-not guidance, no prerequisites (e.g. permissions or whether the local directory must exist), and no routing to sibling tools.

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