Skip to main content
Glama

Get Page Context

get_page_context

Fetch a page along with its tags, links, backlinks, timeline, and content chunks for comprehensive context.

Instructions

get_page_context

Read a page plus nearby memory context.

When to use: after finding a slug and needing page, tags, links, backlinks, timeline, or chunks in one call. When NOT to use: broad recall without a slug; use query or search first. Returns: page, tags, limited related context, and provenance. On error: if the slug is missing, search for the correct slug first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesPage slug to read, for example `projects/memkin`.
limitNoMaximum related items per section, default 20, max 100.
includeNoOptional context sections to include.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesMemkin page.
tagsYesTags on the page.
linksYesOutgoing links.
chunksNoOptional page chunks.
timelineYesPage timeline entries.
backlinksYesIncoming links.
provenanceNoCompact source provenance.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses return values (page, tags, limited related context, provenance) and error handling (if slug missing, search for correct slug first). However, it does not explicitly state the tool is read-only or mention any side effects. This is a minor gap, hence 4.

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?

Highly concise and well-structured with headings, bullet points, and clear separation of sections. Each sentence is informative without redundancy.

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?

Given the presence of an output schema and the tool's moderate complexity, the description covers usage, error handling, parameter context, and return values adequately. It also differentiates from siblings, making it complete for agent decision-making.

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 coverage is 100% with good parameter descriptions. The description adds minimal extra meaning beyond the schema; it mentions 'limit' implicitly via 'maximum related items' but the schema already says that. Baseline 3 is appropriate.

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?

The description clearly states the purpose: 'Read a page plus nearby memory context.' It uses a specific verb ('Read') and resource ('page'), and distinguishes from siblings like `put_page` (write) and `query`/`search` (broad recall).

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?

Explicit when-to-use: 'after finding a slug and needing page, tags, links, backlinks, timeline, or chunks in one call.' Also when-not-to-use: 'broad recall without a slug; use `query` or `search` first.' Clearly guides agent decision.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AndreLYL/memkin'

If you have feedback or need assistance with the MCP directory API, please join our Discord server