Skip to main content
Glama
Webcite MCP Server

Webcite MCP Server

Preview the source behind a citation

get_source_preview
Read-only

Open a citation at its quoted passage in the source to show evidence and verify the quote is actually present before relying on it.

Instructions

Open a citation at its quoted passage in the source, to show the evidence.

Use this when you need to:

  • Show the exact passage a citation came from (not just the URL)

  • Get a deep link that scrolls to the quote (web) or opens the cited PDF page

  • Verify a quote is actually present in its source before relying on it

Works for two source types:

  • Web (pass url): returns a text-fragment deep link (url#:~:text=quote).

  • Document (pass asset_id from upload_file): returns the cited page's extracted text and an asset_url#page=N link. Spreadsheets return the sheet grid.

Every preview reports bindBack: whether the quote was found in the source (grounded) and how it matched (exact / normalized / unbound). A quote that cannot be bound back is never reported as grounded.

Credits: 1

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_source_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoWeb source URL to preview (provide this OR asset_id).
pageNo1-based page (PDF) or sheet index (spreadsheet). Default: 1
quoteNoThe cited quote to bind back against the source and highlight.
asset_idNoUploaded asset ID from upload_file (provide this OR url). Also accepts an "asset://<id>" citation url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.9.67

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, but the description adds substantial behavior beyond them: the returned link formats for web vs. document, spreadsheet grid behavior, the bindBack grounding report with exact/normalized/unbound matching, the promise that unbound quotes are never reported grounded, and a cost of 1 credit.

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?

Front-loaded purpose sentence followed by scannable when-to-use bullets, a source-type breakdown, and a grounding statement before the credits line. Every line carries information an agent needs; there is no filler.

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?

With no output schema, the description compensates by describing what comes back: a text-fragment deep link, extracted page text with an asset_url#page=N link, spreadsheet grids, and a bindBack grounding verdict. For a read-only, zero-required-parameter tool this is complete.

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%, so the mutual exclusivity of url/asset_id, the 1-based page default, and the quote parameter are already documented. The description reinforces which parameter produces which output shape (web text fragment vs. document page text) but adds no syntax or format detail beyond the schema, so the 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?

States a specific verb and resource: 'Open a citation at its quoted passage in the source, to show the evidence.' This clearly distinguishes it from listing or fetching citations, since the deliverable is the passage/preview rather than the citation record itself.

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?

The 'Use this when you need to' block gives three concrete triggers (show exact passage, get a deep link, verify a quote is present), and the two source-type branches show which parameter applies to which input. It never names an alternative tool to use instead, so the routing is clear but not exhaustive.

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