Skip to main content
Glama

get_doc

Retrieve complete documentation pages from UploadKit's knowledge base by specifying their path. Use this tool to access full markdown content with titles, descriptions, source URLs, and detailed body text for comprehensive technical reference.

Instructions

Fetch the full markdown content of a single UploadKit docs page by its path, formatted with title, description, source URL, and the body.

When to use: after search_docs identifies a relevant page and you need its full contents to answer a deep question — prefer search_docs first, then get_doc on the top result. Reading the full page avoids relying on snippets that may omit critical context (callbacks, env vars, edge cases).

Returns: a plain-text string — "# {title}\n\n> {description}\n\nSource: {url}\n\n---\n\n{content}". If the path is unknown, returns a not-found message suggesting list_docs. Read-only, idempotent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesDocs page path relative to /docs, WITHOUT leading slash and WITHOUT .mdx extension. Examples: "core-concepts/byos", "sdk/next/middleware", "api-reference/rest-api", "guides/avatar-upload". Get valid paths from search_docs results (the "path" field) or list_docs.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It effectively describes key behavioral traits: the return format (plain-text string with specific structure), error handling (returns a not-found message if path is unknown), and operational characteristics (explicitly states 'Read-only, idempotent'). However, it doesn't mention potential rate limits, authentication requirements, or performance considerations, which could be relevant for a fetch operation.

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?

The description is efficiently structured and front-loaded, with every sentence earning its place. It starts with the core purpose, then provides usage guidelines, return format, error handling, and operational characteristics in a logical flow without redundancy. The text is dense with useful information while remaining concise.

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?

Given the tool's moderate complexity (single parameter fetch operation), no annotations, and no output schema, the description provides strong contextual completeness. It covers purpose, usage, return format, error handling, and operational behavior. The main gap is the lack of output schema, but the description compensates by explicitly detailing the return structure. A perfect score is withheld as it doesn't address all potential behavioral aspects like rate limits.

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?

The schema description coverage is 100%, with the single parameter 'path' fully documented in the schema (including examples and format requirements). The description doesn't add any meaningful parameter semantics beyond what's already in the schema, so it meets the baseline of 3 where the schema does the heavy lifting. No compensation is needed given the high coverage.

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 specific action ('Fetch the full markdown content') and resource ('a single UploadKit docs page by its path'), distinguishing it from siblings like search_docs (which returns snippets) and list_docs (which lists pages). It explicitly mentions the formatted output components (title, description, source URL, body), making the purpose unambiguous.

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?

The description provides explicit guidance on when to use this tool ('after search_docs identifies a relevant page and you need its full contents to answer a deep question'), when not to use it ('prefer search_docs first'), and alternatives (suggesting list_docs if the path is unknown). It also explains the rationale for usage ('Reading the full page avoids relying on snippets that may omit critical context').

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/drumst0ck/uploadkit'

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