Skip to main content
Glama

Cork docs

Read a page of Cork's docs

fetch_doc
Read-onlyIdempotent

Return one page of Cork's site as Markdown: a docs page, guide, blog article or use case. Pass a url from search_docs, or a path such as /docs/cli or /docs/api.

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": {
      "url": "<url>"
    },
    "name": "fetch_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe page's address: https://corkcli.com/docs/cli, /docs/cli, or its .md

Output Schema

NameRequiredDescriptionDefault
urlYes
textYesThe page in Markdown
titleYes
modifiedNoThe day it last changed (ISO 8601), when known
descriptionYes
markdown_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is fully covered. The description's only addition beyond that is the Markdown return format, and since an output schema exists, return-shape disclosure adds limited extra value. It says nothing about how large pages are handled or truncated.

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?

Two tight sentences with zero filler: the primary behavior and return format lead, and the input-acceptance guidance follows. Nothing repeats the title or restates the schema verbatim.

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?

For a one-parameter read tool with full schema coverage, complete annotations and an output schema, the description covers what the agent needs to call it correctly. The only gap is behavior on oversized or missing pages, which is not stated but is also not essential to invocation.

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% and the single url parameter already documents accepted forms (full https URL, relative path, .md). The description reinforces this and adds the useful provenance hint that the URL typically comes from search_docs, but no syntax or constraint detail beyond the schema. 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?

"Return one page of Cork's site as Markdown" names a specific verb, resource, unit (one page) and output format, then enumerates the content types covered (docs page, guide, blog article, use case). An agent can immediately tell this apart from search_docs, which locates pages rather than returning them.

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?

It explicitly chains to the sibling: pass a url obtained from search_docs, and it shows what a valid alternative input looks like (/docs/cli, /docs/api). It lacks an explicit when-not or error-case clause (e.g., what happens on a non-existent path), so it is clear context rather than full routing guidance.

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.

Resources