Skip to main content
Glama
basis1: Excel engine for AI agents (formulas, recalculation, audit)

basis1: Excel engine for AI agents (formulas, recalculation, audit)

Official

List Library files

list_library_files
Read-only

List workbooks in the user's Library to find a library_file_id for opening a session or confirm a saved file landed; filter by file name and limit results.

Instructions

List the workbooks in the user's Library: the files this account owns, newest-updated first, including everything save_to_library saved. Use it to find a library_file_id to open with create_session, or to check that a save landed. Returns {files: [{library_file_id, name, size_bytes, created_at, updated_at, latest_version: {seq, message, created_at}}], truncated}, times in ISO 8601; latest_version is the newest saved version and its name. Pass query to match part of a file name (ignoring case) and limit for how many to return (1-200, default 50); truncated is true when more files match, so narrow the query or raise limit. Shared files and the trash are left out. Fails with library_unavailable when the Library isn't connected. Reads your Basis Library through the API (needs an API key).

Input Schema

NameRequiredDescriptionDefault
limitNoMost files to return (1-200, default 50)
queryNoPart of a file name to match, ignoring case, e.g. "pro forma" (omit for every file)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.2

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already mark this read-only and closed-world, and the description stays consistent while adding real context: result ordering, the truncated/limit interaction, the library_unavailable failure mode, and the API-key/auth requirement. That is meaningful disclosure beyond structured fields.

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?

Front-loaded with purpose and use cases, then parameters and edge behavior; nearly every clause carries information. It runs long as a single block, but no sentence is waste.

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?

With no output schema, the description supplies the return shape (files array with library_file_id, name, size_bytes, timestamps, latest_version, plus truncated) and ISO 8601 time formatting. Nothing an agent needs to call or interpret this tool is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, and the description goes further by explaining case-insensitive substring matching for query and what truncated means in relation to limit. The added value is modest but real.

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?

"List the workbooks in the user's Library" gives a specific verb plus resource, and immediately scopes it (files this account owns, newest-updated first, everything save_to_library saved). It is clearly distinguishable from siblings like list_sessions and save_to_library.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit when-to-use: "find a library_file_id to open with create_session, or to check that a save landed," naming the alternative tool it feeds. It also states exclusions (shared files and trash are left out), so an agent knows when results will be incomplete.

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