Skip to main content
Glama

Check the files of an imported page (import)

import_check_page
Read-only

Checks a page's imported attachments and lists any referenced files that are missing or still pending. Use it after import; an empty result confirms every attachment reference is ready.

Instructions

Needs a token with the import:write scope whose owner is a global admin. Nothing is emailed or notified, and no per-row audit events are written. Lists the files a page body references that are not ready (never uploaded, or still pending). Run it after importing the attachments of a page: an empty list means every ![](attachment:<uuid>) has its file.

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": {
      "page_id": "<page_id>"
    },
    "name": "import_check_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
page_idYesSophia page id (uuid), from get_page_tree, search_pages or recent_pages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=true and openWorldHint=false; the description goes well beyond them by naming the required auth scope and owner role (import:write + global admin) and by explicitly stating the absence of emails, notifications, and per-row audit events. That negative space — what will not happen — is exactly the side-effect disclosure an agent needs for a safe 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?

Four tight sentences with no filler, and the empty-list interpretation is stated crisply. Mild weakness in ordering: the auth prerequisite leads before the tool's actual purpose is stated, so the front-loading favors setup over the core action.

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?

For a single-parameter read-only check with no output schema, the description supplies the auth prerequisite, the meaning of results (files not ready, empty list = success), and the absence of side effects. Nothing an agent needs to invoke or interpret it correctly is missing.

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?

Only one parameter, and schema description coverage is 100% — page_id already carries its uuid format and the hint that it comes from get_page_tree, search_pages, or recent_pages. The description adds no further meaning about page_id, so the 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 and resource — files referenced by a page body that are 'not ready (never uploaded, or still pending)' — plus the concrete pass condition (empty list means every ![](attachment:<uuid>) resolves). An agent can distinguish this verification step from upload-oriented siblings like import_attachment without opening any 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?

Gives explicit sequencing guidance ('Run it after importing the attachments of a page') and tells the agent how to interpret the result. It does not name an alternative such as list_attachments or say when not to call it, so it stops short of full when/when-not coverage.

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