Skip to main content
Glama

actionlayer

actionlayer_get_task

Read the current state of a ticket. Poll until state is one of: completed, failed, cancelled, blocked_on_user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ticket_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It correctly implies a non-mutating read operation ('Read') and describes the polling behavior. However, it does not explicitly state that it is safe/read-only or disclose any potential side effects or required permissions.

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 a single, concise sentence that conveys both the operation and the expected usage pattern (polling). There is no wasted text, and it is appropriately front-loaded with the core action.

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 the simple input (one required parameter) and the presence of an output schema (which documents the return), the description is largely complete. It covers the tool's purpose, the resource, and the recommended polling approach. Minor gaps include lack of parameter documentation and explicit safety guarantees.

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 schema coverage is 0%, meaning the description adds no explanation for the 'ticket_id' parameter. Although its purpose is somewhat inferable from context, the description should explicitly state that ticket_id identifies the ticket whose state is being read. This is a minimal addition that would significantly aid an AI agent.

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 reads the current state of a ticket and specifies the target states for polling. The verb 'read' and resource 'ticket' are specific, and it distinguishes from sibling tools (e.g., actionlayer_cancel, actionlayer_start_task) which perform different actions.

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 explicitly instructs to poll until a specific state is reached, providing clear context on how to use the tool repeatedly. However, it does not explicitly state when not to use it or mention alternative tools for similar tasks.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources