Skip to main content
Glama
cars3

DigiLIB

by cars3

export_research_tool

Builds a LaTeX source document for a research export, combining a literature review, conversation summary, and APA/Chicago/MLA citations so you can compile or save the .tex file.

Instructions

Build the LaTeX source for a research export (literature review + conversation summary + citations in APA/Chicago/MLA) and return it.

This tool does NOT render a PDF - it returns the raw LaTeX document source. You, the assistant calling this tool, are responsible for rendering it yourself:

  1. Write the returned LaTeX to a .tex file (e.g. digilib_export.tex) in the user's project or Downloads folder.

  2. If pdflatex is available, compile it to PDF with pdflatex -interaction=nonstopmode digilib_export.tex and give the user the path to the resulting PDF.

  3. If pdflatex is NOT available, just save the .tex file and tell the user where it is and how to compile it (e.g. install TeX, or use an online LaTeX compiler such as Overleaf). Always save the .tex file regardless, so the user keeps the source.

Args: conversation_summary: plain-text summary of the conversation, written by the calling LLM. literature_recommended: list of plain-text lines for the Literature Review section (one bullet per line). liked_articles: citation entries, each a dict with title/authors/year/link keys. citation_formats: subset of ["APA", "Chicago", "MLA"].

Returns: The complete LaTeX document source as a string.

Input Schema

NameRequiredDescriptionDefault
liked_articlesNo
citation_formatsNo
conversation_summaryYes
literature_recommendedYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well. It explicitly discloses that the tool returns raw LaTeX rather than a rendered PDF, explains the calling agent's responsibility to save and optionally compile the file, and states the exact return type. This is behaviorally transparent beyond what the schema provides.

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 front-loaded with the key distinction that it returns LaTeX rather than a PDF, then uses numbered steps and an Args/Returns structure that is easy to scan. It is somewhat long and repeats the instruction to always save the .tex file, but the repetition reinforces an important workflow requirement rather than adding noise.

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

Completeness5/5

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

Given the tool's multi-step workflow, four parameters, lack of annotations, and presence of an output schema, the description is complete enough for an agent to call it correctly. It covers purpose, non-rendering behavior, parameter semantics, return value, and post-call handling instructions. Nothing essential is missing.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does: every parameter is documented with meaning and expected format. It explains that conversation_summary is plain text, literature_recommended is a list of bullet lines, liked_articles contains citation dictionaries with title/authors/year/link keys, and citation_formats is a subset of APA, Chicago, and MLA.

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 clearly states the specific action and resource: it builds LaTeX source for a research export containing a literature review, conversation summary, and citations. It also sharply distinguishes what the tool does not do by stating it does not render a PDF. It does not explicitly contrast itself with the sibling search tools, so it falls short of a 5.

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 description implies the tool is for producing a research export, and it gives detailed post-call handling instructions for the returned LaTeX. However, it does not state when an agent should choose this tool over alternatives or specify exclusions beyond the PDF-rendering clarification. Usage guidance is therefore adequate but incomplete.

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

Deploy Server

Other Tools