Skip to main content
Glama
mcp-local-reference

mcp-local-reference

format_citation

Formats a Zotero item key into a Harvard (Cite Them Right) citation, giving MCP clients a ready-to-use reference entry.

Instructions

Format a reference as a Harvard (Cite Them Right) citation.

    Args:
        item_key: The Zotero item key.
    

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": {
      "item_key": "<item_key>"
    },
    "name": "format_citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does not state that the operation is read-only/non-mutating, what happens if item_key is invalid or the item has incomplete metadata, or any permission requirements. An output schema exists, so return values need not be explained, but the mutation/safety profile remains undisclosed.

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

Conciseness3/5

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

The purpose line is short and front-loaded, but the trailing 'Args:' block is redundant docstring boilerplate that repeats the single schema property. Overall compact with a small amount of waste.

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?

For a simple one-parameter formatting tool with an output schema, the description covers the core purpose adequately. It is thin on input provenance and failure behavior, which an agent would need to invoke it confidently in a Zotero workflow.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and the description only restates the parameter as 'The Zotero item key,' adding the useful hint that the key comes from Zotero but nothing about its format (e.g., short alphanumeric key) or how to obtain it from other tools. It does not compensate for the missing schema documentation.

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?

The description names a specific verb (format) and resource (a reference) and pins down the output style as Harvard (Cite Them Right), which is more precise than a generic 'format' tool. It does not distinguish itself from siblings like get_reference, but the citation-style specificity makes the purpose unambiguous.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus get_reference or the add_reference_* tools, and no prerequisites or exclusions. Usage is only implied by the phrase 'Format a reference as a Harvard citation'.

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