Skip to main content
Glama

enhance-citation

Read-onlyIdempotent

Normalizes BibTeX formatting while preserving supplied metadata and without inventing authors, awards, or keywords. Produces clean entries ready for use in citation workflows.

Instructions

Normalize BibTeX formatting while preserving supplied metadata. Does not invent authors, awards or keywords. Use verify-citation to check facts. Example: {"bibtex": "@article{key, title={A work}, year={2020}}"}

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": {
      "bibtex": "<bibtex>"
    },
    "name": "enhance-citation"
  }
}

Input Schema

NameRequiredDescriptionDefault
bibtexYes
templateNodefault

Output Schema

NameRequiredDescriptionDefault
bibtexYes
warningsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so safety is covered. The description adds a real guarantee beyond them: it will not fabricate authors, awards, or keywords, which tells the agent what the output will and will not contain. It does not say how unrecognized or malformed fields are handled, which keeps it from a 5.

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?

Three compact sentences with the core purpose front-loaded, followed by the constraint and the sibling pointer; no filler. The embedded JSON example is slightly awkward inside prose but earns its place by anchoring the input format.

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?

An output schema exists, so return values need no prose, and annotations carry the safety profile; the description covers purpose, constraint, and routing. The one meaningful hole is the template enum, which an agent cannot interpret from any field for a tool whose whole job is reshaping output format.

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 0%, so the description must carry parameter meaning, and the inline example does usefully demonstrate that bibtex takes a complete BibTeX entry string rather than a key or path. However, the optional template parameter (default/compact) is never explained in the description or schema, leaving its effect on output entirely opaque.

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?

"Normalize BibTeX formatting while preserving supplied metadata" gives a specific verb (normalize) and a specific resource (BibTeX formatting), and the negative constraint "Does not invent authors, awards or keywords" sharpens the boundary further. Naming verify-citation as the fact-checking counterpart lets an agent separate this tool from at least one sibling without opening a schema.

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 routes factual verification to verify-citation, which is clear when-to-use guidance for the most likely confusion. It stops short of stating preconditions (e.g. whether the input must already be valid BibTeX) or exclusions for the formatting-only siblings, so it is strong rather than exhaustive.

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