Skip to main content
Glama
xuzhougeng

ScientificFigureLibrary

by xuzhougeng

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FIGURE_LIBRARY_DIRNoDirectory for the user's figure library. Defaults to ~/.figure-library.
FIGUREYA_SOURCE_PACK_DIRNoPath to a local FigureYa Source Pack directory containing ZIP archives.
FIGUREYA_ARCHIVE_BASE_URLSNoComma-separated list of base URLs for FigureYa archive downloads.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
figure_library_openA

Open the template workbench without inventing a search when no plotting intent exists.

figure_library_searchA

Search FigureYa and user-imported references after analyzing the user's image, text, or data. Pass compact derived profiles, never an entire dataset.

figure_library_importA

Copy a user-supplied figure/code or validate and import a Figure Transfer Package ZIP. Transfer Packages enter as draft visual references. The tool never executes code or stores original absolute paths. Direct-write mode is retained for v0.2 compatibility; new Agents should use figure_library_plan_import and figure_library_apply_import.

figure_library_plan_importA

Read and validate direct-import files, calculate stable identity and duplicate evidence, and return a concurrency-bound plan. No files are written.

figure_library_apply_importA

Revalidate a direct import plan and apply only the exact confirmed create/update/duplicate decision. Imported code is copied but never executed.

figure_library_diffA

Validate one Figure Transfer Package or Gallery entry and report a reviewable, read-only create/update/unchanged diff. No files are imported.

figure_library_upsertA

Validate and create or atomically replace one stable Gallery/Transfer Package snapshot. Use figure_library_diff first when content changed. Code is copied but never executed.

figure_library_syncA

Validate a Gallery and plan its stable imports. dryRun defaults to true. Applying sync imports approved entries, skips drafts, and logically archives entries marked archived.

figure_library_archiveA

Resolve a templateId, galleryId, or adapter-scoped registrySourceId and exclude the template from default search. Files are retained; this tool never hard-deletes a template.

figure_library_previewA

Return the selected candidate preview as standard MCP image content. Optionally copy it to a project-local directory so a Wisp Agent can call view_image. Use this to visually audit the top retrieval candidate before making a final recommendation.

figure_library_source_statusB

Report effective User Library and Gallery paths, lifecycle/integrity counts, and inspect a local FigureYa Source Pack by file name and size.

figure_library_auditA

Read every user-template manifest, verify stored files, and report invalid, legacy, and component-level duplicate evidence. Recommendations never modify the library.

figure_library_reconcileA

Dry-run, apply, or roll back an exact duplicate-archive transaction. Apply uses verified manifest/file preconditions, a shared write lock, and a recovery journal; files are retained.

figure_library_describeA

Return structured, read-only details for one exact template ID.

figure_library_materializeA

Copy a selected user template or acquire a commit-pinned FigureYa archive. Never overwrites or executes code. If this tool returns any error, stop immediately, report it, and do not retry, fetch another archive, recreate the template, or draw a substitute.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
ui://figure-library/candidates.htmlCompare templates from FigureYa and the user's own reference library.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xuzhougeng/ScientificFigureLibrary'

If you have feedback or need assistance with the MCP directory API, please join our Discord server