Skip to main content
Glama

create_dataset_filelist

Create a filelist from a SAM dataset definition for analysis. Specify location and file limit to prepare datasets for refana analysis tools.

Instructions

Create a filelist for analysis from a SAM dataset definition.

    This tool prepares a dataset for use with refana analysis tools.
    
    Args:
        defname: SAM definition name (e.g., 'ensembleMDS3c')
        location: File location ('disk', 'tape', 'scratch', 'nersc')
        max_files: Limit to first N files (useful for testing)
        output_path: Path to save filelist (if None, generates temp path)
        
    Returns:
        Dictionary with filelist path and dataset information
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
defnameYes
locationNodisk
max_filesNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations are provided, so the description carries the full burden. It mentions creating a filelist and using a temp path if output_path is None, but does not disclose side effects (e.g., file system writes, disk usage), required permissions, or potential risks such as overwriting existing files.

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 efficiently structured with a clear opening line and labeled args/returns sections. It is concise without being terse, though minor redundancy (e.g., 'prepares a dataset') could be trimmed.

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?

Given no annotations and empty schema descriptions, the description covers the tool's core purpose, parameters, and return format. It lacks explicit usage guidance and behavioral details, but the presence of an output schema offsets the need to explain return values.

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 descriptions are empty (coverage 0%), so the description provides critical meaning: defname's example, location's allowed values, max_files as testing limit, and output_path's fallback behavior. This adds substantial value beyond the raw schema.

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?

The description clearly identifies the action (Create), resource (filelist from SAM dataset), and context (for analysis with refana tools). It distinguishes from sibling tools like list_available_datasets or get_dataset_info by focusing on creation.

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 states it prepares a dataset for refana analysis tools, implying usage context, but does not explicitly guide when to use this tool versus alternatives or mention when not to use it.

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

Install Server

Other Tools

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/sophiemiddleton/mcp-refana'

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