Skip to main content
Glama

glue_job

Generate and manage AWS Glue job configurations and templates, including SQL-to-PySpark conversion and DynamicFrame code.

Instructions

Generate and manage AWS Glue job configurations and templates.

Modes:

template Generate a complete AWS Glue job template. Parameters: sql_query, job_name, source_database, source_table, target_database, target_table, output_dir, source_format, target_format, include_bookmarking, template_type, script_name

dynamic_frame Convert PySpark DataFrame code to use DynamicFrames. Parameters: pyspark_code (required), source_database, source_table, target_database, target_table

properties Generate Glue job properties for AWS CLI/SDK/Terraform. Parameters: job_name (required), job_type, worker_type, number_of_workers, max_retries, timeout, glue_version, enable_continuous_logging, enable_metrics, enable_spark_ui

sql_conversion Generate a Glue job that includes SQL-to-PySpark conversion. Parameters: sql_query (required), job_name (required), source_database, source_table, target_database, target_table, source_format, target_format, include_bookmarking

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYes
timeoutNo
job_nameNo
job_typeNoetl
sql_queryNo
output_dirNo
max_retriesNo
script_nameNo
worker_typeNoG.1X
glue_versionNo4.0
pyspark_codeNo
source_tableNo
target_tableNo
source_formatNoparquet
target_formatNoparquet
template_typeNostandard
enable_metricsNo
enable_spark_uiNo
source_databaseNo
target_databaseNo
number_of_workersNo
include_bookmarkingNo
enable_continuous_loggingNo

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 must convey behavioral traits. It describes the tool as generating configurations and templates, implying it is non-destructive. However, it does not explicitly state that it does not modify AWS resources or require specific permissions, leaving transparency gaps.

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?

The description is well-organized with headers and bullet points, making it easy to scan. It efficiently communicates modes and associated parameters without unnecessary verbosity.

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?

Given the tool's complexity (23 parameters, 4 modes), the description provides a high-level overview but lacks details on parameter constraints, output format, or error handling. The existence of an output schema mitigates some missing return value info, but parameter semantics remain underdescribed.

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?

The input schema has 0% coverage for parameter descriptions. The description lists parameter names per mode but does not explain their meanings, valid values, or constraints beyond defaults. This is insufficient for a tool with 23 parameters, as agents need semantic guidance to select correct values.

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's purpose: 'Generate and manage AWS Glue job configurations and templates.' It then lists four distinct modes (template, dynamic_frame, properties, sql_conversion) with specific use cases, effectively distinguishing the tool from siblings.

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 provides clear guidelines on when to use each mode by listing the parameters specific to each. While it does not explicitly contrast with sibling tools, it implies appropriate usage through mode descriptions. No explicit 'when not to use' guidance is given.

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/AnnasMazhar/pyspark_mcp'

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