Skip to main content
Glama
Plagx Cite + Preflight MCP

Plagx Cite + Preflight MCP

Official

BibTeX to CSL-JSON

bibtex_to_csl
Read-onlyIdempotent

Converts BibTeX source into CSL-JSON references for citation formatting, bibliography management, and reference exchange.

Instructions

Parse BibTeX source into CSL-JSON references.

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": "bibtex_to_csl"
  }
}

Input Schema

NameRequiredDescriptionDefault
bibtexYesBibTeX source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered. The description adds no behavioral context beyond that: nothing about handling of malformed BibTeX, partial parses, duplicate keys, or whether entries are dropped or errored. With annotations carrying the full burden, this leaves the description as pure restatement.

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?

One front-loaded sentence with zero filler; every word (verb, input, output) earns its place and there is no preamble or redundancy.

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 single-parameter pure transform with no output schema, the description does state the return shape ("CSL-JSON references"), which is the main thing an agent needs. What is missing — error behavior on invalid input and relationship to the inverse tool — is minor given the tool's simplicity and its annotations.

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?

There is a single parameter (bibtex) at 100% schema description coverage, including min/maxLength constraints, so the schema already does the parameter work. The description only implies that the string is BibTeX source, adding no syntax, encoding, or format details beyond the schema baseline.

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?

"Parse BibTeX source into CSL-JSON references" names a specific verb (parse) plus both the input format (BibTeX) and output format (CSL-JSON), making the transform direction unambiguous against the inverse sibling csl_to_bibtex. It stops short of explicitly naming that sibling, so it is clear but not differentiated in-text.

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 when-to-use guidance, no mention of the inverse tool (csl_to_bibtex) or of lookup_doi/format_references as alternatives, and no prerequisites or exclusions. An agent must infer from the name alone that this is the conversion step in a BibTeX-in pipeline.

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