Skip to main content
Glama

get_page

Read-only

Read a page, database row or dashboard by id (type auto-detected; a dashboard comes back as its block spec). mode: "outline" returns headings + first line per section — a cheap skim for a long page (the map shows body sizes) before a full read.

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": {
      "pageId": "<pageId>"
    },
    "name": "get_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNofull
pageIdYesPage or row id
includeCommentsNoAlso return the comment thread

Output Schema

NameRequiredDescriptionDefault
idYes
urlNoDashboard only: where a human can see it
iconNo
modeNo"outline" when collapsed
specNoDashboard only: the block spec (outline mode: `blocks` with id/type/title instead)
typeYespage | database | database_row | dashboard
titleNo
contentNoMarkdown body (collapsed in outline mode); absent for a dashboard
commentsNoPresent only when includeComments is true
databaseIdNo
propertiesNoDatabase-row properties (rows only)
recurrenceNoPresent when this row is one occurrence of a repeating series: seriesId, occurrenceDate, detached, rule, occurrences
fullContentCharsNoFull body size in chars (outline mode) — gauge whether a "full" fetch is worth it

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / databaseId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / databaseId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / icon / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / icon / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  2. Changed7 schema fields changed
    • changedInput schema / properties / includeComments / description
      Previous value: -"Include the page's comment thread (default false, so ordinary reads stay cheap)"New value: +"Also return the comment thread"
    • removedInput schema / properties / mode / description
      Removed value: -"\"full\" (default) returns the whole markdown body; \"outline\" returns only headings + the first line of each section — use it to skim long pages cheaply, then re-fetch with \"full\" if needed"
    • changedInput schema / properties / pageId / description
      Previous value: -"The workspace item ID or database row ID"New value: +"Page or row id"
    • changedOutput schema / properties / content / description
      Previous value: -"Markdown body (collapsed in outline mode)"New value: +"Markdown body (collapsed in outline mode); absent for a dashboard"
    • addedOutput schema / properties / spec
      Added value: +{
      +  "description": "Dashboard only: the block spec (outline mode: `blocks` with id/type/title instead)"
      +}
    • changedOutput schema / properties / type / description
      Previous value: -"page | database"New value: +"page | database | database_row | dashboard"
    • addedOutput schema / properties / url
      Added value: +{
      +  "description": "Dashboard only: where a human can see it",
      +  "type": "string"
      +}
  3. Changed3 schema fields changed
    • addedInput schema / properties / includeComments
      Added value: +{
      +  "default": false,
      +  "description": "Include the page's comment thread (default false, so ordinary reads stay cheap)",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / comments
      Added value: +{
      +  "description": "Present only when includeComments is true",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "authorKind": {
      +        "description": "human | agent",
      +        "type": "string"
      +      },
      +      "authorLabel": {
      +        "type": "string"
      +      },
      +      "body": {
      +        "type": "string"
      +      },
      +      "createdAt": {},
      +      "id": {
      +        "type": "string"
      +      },
      +      "kind": {
      +        "description": "note | closure",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "body",
      +      "kind",
      +      "authorKind",
      +      "authorLabel",
      +      "createdAt"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / recurrence
      Added value: +{
      +  "description": "Present when this row is one occurrence of a repeating series: seriesId, occurrenceDate, detached, rule, occurrences"
      +}
  4. Changed9 schema fields changed
    • changedOutput schema / properties / content / description
      Previous value: -"Markdown content (collapsed to headings + first lines when mode is \"outline\")"New value: +"Markdown body (collapsed in outline mode)"
    • removedOutput schema / properties / databaseId / description
      Removed value: -"Associated database ID (database items only)"
    • changedOutput schema / properties / fullContentChars / description
      Previous value: -"Size of the full content in characters (outline mode only) — gauge whether a \"full\" fetch is worth it"New value: +"Full body size in chars (outline mode) — gauge whether a \"full\" fetch is worth it"
    • removedOutput schema / properties / icon / description
      Removed value: -"Page icon"
    • removedOutput schema / properties / id / description
      Removed value: -"Page ID"
    • changedOutput schema / properties / mode / description
      Previous value: -"Present (\"outline\") when the content was collapsed"New value: +"\"outline\" when collapsed"
    • changedOutput schema / properties / properties / description
      Previous value: -"Database-row properties (database rows only)"New value: +"Database-row properties (rows only)"
    • removedOutput schema / properties / title / description
      Removed value: -"Page title"
    • changedOutput schema / properties / type / description
      Previous value: -"Resolved type (page | database)"New value: +"page | database"
  5. Changed4 schema fields changed
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "full",
      +  "description": "\"full\" (default) returns the whole markdown body; \"outline\" returns only headings + the first line of each section — use it to skim long pages cheaply, then re-fetch with \"full\" if needed",
      +  "enum": [
      +    "full",
      +    "outline"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / content / description
      Previous value: -"Markdown content"New value: +"Markdown content (collapsed to headings + first lines when mode is \"outline\")"
    • addedOutput schema / properties / fullContentChars
      Added value: +{
      +  "description": "Size of the full content in characters (outline mode only) — gauge whether a \"full\" fetch is worth it",
      +  "type": "number"
      +}
    • addedOutput schema / properties / mode
      Added value: +{
      +  "description": "Present (\"outline\") when the content was collapsed",
      +  "type": "string"
      +}
  6. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds real context beyond them: type auto-detection, the block `spec` return for dashboards, and the outline payload shape. It says nothing about behavior on a missing/invalid id or access restrictions, so with annotations carrying the safety burden a 3 is right.

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?

Two sentences, front-loaded with the primary action and resource. The em-dash/parenthetical nesting makes it dense, but no sentence is filler.

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 values needn't be spelled out, yet the description still flags the dashboard `spec` case and the outline shape where it matters. For a three-parameter read tool this is close to complete; only error/permission behavior is absent.

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

Parameters4/5

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

Schema coverage is 67% and the schema already documents pageId and includeComments. The description earns above baseline by explaining what the `mode` enum values actually do — outline returns headings plus the first line per section, full returns the whole page — which the schema does not.

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?

States a specific verb and resource ("Read a page, database row or dashboard by id") plus the auto-detection behavior and the dashboard return shape. It implicitly separates itself from list/query siblings by requiring an id, but never names an alternative tool.

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 actionable guidance for the mode parameter: "outline" is a cheap skim for a long page before committing to a full read, and notes the map shows body sizes. It does not say when to prefer this over get_pages or query_database, so routing to siblings 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.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.