Skip to main content
Glama

xi.pe

Read a paste

read_paste
Read-only

Fetch the text of an existing xi.pe paste -- including one a user or another agent just handed you. Accepts either the code or the full URL. If you pass the URL on to a human and the text is Markdown, append ?md: it renders headings, tables and ```mermaid diagrams.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesthe paste's code (6 characters, or 23 if created with long), or its full xi.pe URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / code / description
      Previous value: -"the paste's code (4-5 characters, or 23 if created with long), or its full xi.pe URL"New value: +"the paste's code (6 characters, or 23 if created with long), or its full xi.pe URL"
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds useful behavioral context: it accepts both code and full URL, and it explains the ?md rendering behavior for Markdown. It doesn't mention rate limits or response format, but for a simple read tool with readOnlyHint, the description adds meaningful value beyond annotations.

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?

Three sentences, each earning its place: the first states the core function, the second clarifies input flexibility, the third gives a practical usage tip. No fluff or repetition of schema details.

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 simple read tool with one parameter, full schema coverage, and readOnlyHint annotation, the description is nearly complete. It covers what the tool does, input formats, and a rendering tip. It doesn't describe the return format, but with no output schema and a simple text-fetch operation, that's a minor gap.

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 100%, so the schema already documents the 'code' parameter well. The description adds value by clarifying that the parameter accepts either the 6-character code or the full URL, and by explaining the ?md suffix behavior. This goes beyond the schema's description, which only says 'the paste's code... or its full xi.pe URL'.

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 tool fetches the text of an existing xi.pe paste, with a specific verb ('Fetch') and resource ('text of an existing xi.pe paste'). It also distinguishes itself from siblings by mentioning it can read pastes handed over by users or agents, and the sibling tools (create_paste, delete_paste) are clearly different operations.

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 explicitly says when to use it: to fetch an existing paste, including one just handed to you. It also provides a conditional usage tip: if passing the URL to a human and the text is Markdown, append ?md. It doesn't explicitly name alternatives, but the sibling tools are create and delete, so no alternative read tool exists; the usage context is clear.

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