Skip to main content
Glama

Cite (Cache Citation / Refresh Source)

cite

Store and update legal citations locally, generating biblatex cite keys and AGLC4 formatted strings. Refresh cached source files by checking remote freshness.

Instructions

Write to the local citation cache. action=add (default) stores or updates a citation, assigns a biblatex-compatible cite key on first use, and returns the cite key and canonical AGLC4 string. action=refresh_source checks whether the locally cached source file for a citation is still current (conditional HEAD using stored ETag/Last-Modified) and re-downloads it when the remote is newer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoadd = store/update a citation in the local cache (default); refresh_source = check the cached source file's freshness via conditional HEAD and re-download when staleadd
titleNoCase name, e.g. 'Mabo v Queensland (No 2)' — required for action=add
neutralCitationNoNeutral citation, e.g. '[1992] HCA 23'
reportedCitationNoReported citation, e.g. '(1992) 175 CLR 1'
urlNoPrimary source URL (AustLII or jade.io) — required for action=add
typeNoSource typecase
jurisdictionNo
yearNoDecision year
courtNoCourt code, e.g. 'HCA'
keywordsNo
summaryNoBrief abstract of the source
documentNoLogical document name this citation belongs to, e.g. 'essay-chapter-3'
footnoteNumberNoFootnote number where this citation first appears in `document`
pinpointNoPinpoint to include in the AGLC4 full form, e.g. '[20]' or '401 to 407'
styleNoWhich citation components to include in aglc4Fullcombined
citeKeyNoCite key of a cached citation, e.g. 'mabo1992' — required for action=refresh_source
Behavior3/5

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

No annotations are provided, so the description carries full burden. It discloses that add assigns a biblatex-compatible cite key and returns it with AGLC4 string, and refresh_source uses conditional HEAD with ETag/Last-Modified. However, it does not mention side effects, authentication needs, or rate limits.

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?

The description is concise with two sentences that front-load the key information about actions. It is efficient and contains no filler, though a slightly more structured breakdown could improve clarity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 16 parameters, no output schema, and no annotations, the description is incomplete. It covers the two main actions but does not explain return values for refresh_source, error handling, or prerequisites. It provides adequate context for the core functionality but lacks completeness.

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 description coverage is 88% (high), so baseline is 3. The description adds context for the action parameter and its behaviors but does not elaborate on many other parameters beyond what the schema already provides. The description adds some value but not significantly.

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 it writes to a local citation cache with two distinct actions (add and refresh_source), using specific verbs and resources. It distinguishes from sibling tools like cache_cited_by and fetch_document_text.

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 description explicitly tells when to use each action (action=add for storing/updating, action=refresh_source for checking freshness). It does not mention when NOT to use or provide explicit alternatives, but the actions are well-defined.

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/russellbrenner/jurisd'

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