Skip to main content
Glama
exthnet
by exthnet

generate_job_template

Generate a PJM job script template for Genkai with configured rscgrp, cores, GPU, and time. Returns a shell script containing #PJM directives ready for pjsub submission.

Instructions

Generate a PJM job script template for Genkai.

Available rscgrps: a-batch-low, a-batch, b-batch-low, b-batch, b-batch-mig-low, b-batch-mig, c-batch-low, c-batch, and their -inter variants.

Returns a shell script string with #PJM directives ready to submit with pjsub.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
gpuNo
coresNo
elapseNo01:00:00
rscgrpNoa-batch-low
job_nameNomyjob
work_dirNo
mpi_procsNo
extra_pjm_directivesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations, the description carries the full burden. It clearly states the output type and nature (shell script string, template), and the list of rscgrps adds system-specific context. It does not disclose edge-case behavior like invalid inputs, but the non-destructive nature is apparent.

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 three sentences: purpose, resource groups, and output. It is front-loaded with the main action and avoids unnecessary phrases, though the resource group list adds unavoidable length.

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

Completeness3/5

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

The description adequately explains the tool's purpose and output for a template generator, aided by the presence of an output schema. However, the lack of parameter documentation and annotation makes it less complete than needed for a tool with 8 configurable parameters.

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

Parameters2/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 for all 8 parameters. It only addresses the rscgrp parameter by listing valid values; no other parameters (gpu, cores, elapse, job_name, work_dir, mpi_procs, extra_pjm_directives) are explained. This leaves most parameters underspecified.

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 states the tool generates a PJM job script template for Genkai, and further clarifies it returns a shell script string with #PJM directives. This distinguishes it from siblings like submit_job or list_files.

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?

The description implies usage for creating a job template without submitting, as it mentions 'ready to submit with pjsub,' but does not explicitly name alternatives or exclusions. The listing of available rscgrps provides helpful context for choosing the correct resource group, giving clear context without formal when/not guidance.

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/exthnet/tcs_mcp_claude'

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