Skip to main content
Glama

tls_offset_tool

Optimize traffic light offsets by running the SUMO tlsCoordinator and generate an XML file with the optimized settings.

Instructions

Run SUMO tlsCoordinator.py to optimize traffic light offsets and generate an additional XML file.

Args:
    net_file: Network file path (tag will be extracted from filename)
    route_file: Route file path
    output_dir: Output directory for results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
net_fileYes
output_dirNooutput/simulations
route_fileYes
Behavior2/5

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

No annotations are provided, so the description must carry the full burden. It mentions running an external script and generating an XML file but omits details like potential side effects, execution time, or permissions. It does not disclose whether input files are modified.

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 short with a single line of purpose followed by a bullet list of arguments. It is efficient with no redundant information, though the structure could be slightly improved by merging into a paragraph.

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

Completeness2/5

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

Given the tool runs an external script and generates output, the description is incomplete. It does not explain what the generated XML file contains, dependencies (e.g., SUMO installation), or any side effects. Lack of output schema also reduces completeness.

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

Parameters3/5

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

Schema coverage is 0%, so the description must add meaning. It provides brief context for each parameter (e.g., tag extraction for net_file, output directory for results). However, it lacks format constraints or further explanation, leaving gaps for a 3-parameter tool.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states it runs a SUMO script to optimize traffic light offsets and generate an XML file. The verb 'optimize' and resource 'traffic light offsets' are clear, but it doesn't explicitly distinguish from the sibling tls_adaptation_tool, which may have overlapping functionality.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., tls_adaptation_tool). Prerequisites or context (e.g., after route generation) are not mentioned.

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/urban-ai-institute/kra35-prismx-agentsumo'

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