Skip to main content
Glama

Format references

cite
Read-onlyIdempotent

Format references for works in the library in APA, Chicago, MLA, Harvard, BibTeX, or RIS. Pass the ids of the sections you used to get a deduplicated reference list plus the section links, or pass source ids to cite whole works. With no ids, returns a reference for every work in the library.

Input Schema

NameRequiredDescriptionDefault
idsNoSection ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, social_theory, publications.
styleNoCitation style (default apa).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, publications."New value: +"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, social_theory, publications."
  2. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, comm_theory, publications."New value: +"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, publications."
  3. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, publications."New value: +"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, advanced_data_analysis, tidy_finance_vn, tidy_finance_vn_vi, mlpy, comm_theory, publications."
  4. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action."New value: +"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action, publications."
  5. Changed1 schema field changed
    • changedInput schema / properties / ids / description
      Previous value: -"Section ids from other tools, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action."New value: +"Section ids, or source ids: data_analysis, causalverse, credit_score, marketing_research, ai_in_action."
  6. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses that section ids are deduplicated and include section links, that source ids cite whole works, and that omitting ids returns every library work. It does not discuss limits, error behavior, or output shape in detail.

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?

Three tight sentences, front-loaded with the core action and styles, then the id modes, then the default. Every sentence carries operational information with no repetition.

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?

For a two-parameter, read-only citation formatter with no output schema, the description covers the important behaviors: supported styles, section-vs-source id distinction, deduplication, extra section links, and the no-id default. Nothing needed to invoke it correctly 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?

Although schema coverage is 100%, the description adds real meaning beyond the schema by explaining the consequence of each id type: section ids give deduplicated references plus section links, source ids give whole-work citations, and no ids default to the entire library. The style enum is already covered by the schema, but the ids semantics are substantially clarified.

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 states a specific verb and resource: formatting references for library works in six named citation styles. It is clearly distinct from siblings like search or fetch, but it does not explicitly name an alternative or contrast its role, so it falls short of the top score.

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?

It clearly explains the three usage modes: section ids produce a deduplicated list with section links, source ids cite whole works, and no ids cite everything. It does not say when to use cite versus siblings such as fetch or search, nor does it state exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.