Skip to main content
Glama

Cite a public page

get_citation
Read-onlyIdempotent
Cite a location and link to its public page.

Args:
    doc_id: The document ID
    page_num: The location number
    style: 'chicago' or 'mla'

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": {
      "doc_id": "<doc_id>",
      "page_num": "<page_num>"
    },
    "name": "get_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNochicago
doc_idYes
page_numYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds that the result is a citation with a link to a public page, but says nothing about error cases, style validation, or how the citation is formatted (deferred to the output schema). Modest added value against an already-strong annotation set.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One front-loaded purpose sentence followed by a tight Args block; nothing is padded or redundant. The docstring-style formatting is slightly verbose for three fields but does not impair scanning.

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 three-parameter read tool with an output schema that covers the return shape and annotations that cover safety, the description covers what is produced and what each argument means. It omits only minor details such as style's default of 'chicago' and invalid-style behavior, which the schema's default already conveys.

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 0% and the schema only carries bare titles, so the description has to compensate — and it largely does: it names the acceptable style values ('chicago' or 'mla'), which the schema lacks as an enum, and clarifies page_num as 'the location number'. Only doc_id's gloss ('The document ID') is a pure restatement, keeping it from a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Cite a location and link to its public page" gives a specific verb (cite) and resource (a location/page within a document), which is enough to distinguish it from read_page and get_table_of_contents. It stops short of explicitly naming a sibling or exclusion, so it is clear but not fully differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The purpose sentence implies when to use it (you want a citation rather than page content), but there is no explicit when-to-use/when-not guidance and no mention of alternatives like read_page. Usage is inferable rather than stated.

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