Skip to main content
Glama

Agentic RL: Credit Assignment and CLI Agents

Agentic_RL_get_task

Inspect one published ShellOps or ShellOps-Pro task by its exact task_id and partition ('shellops' or 'shellops_pro'). Returns the complete instruction, actual reward specification, published reference answer/command, file-entry metadata, pinned parquet rows and workspace asset links. File content is available at the source links. No shell execution or solution verification is performed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYes
partitionYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the return content (instruction, reward spec, reference answer, metadata, parquet rows, asset links) and explicitly notes that file content is only available at source links and that no execution or verification occurs. This is transparent about what the tool does and does not do, though it could mention potential error cases or permission requirements.

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 two sentences with no waste, front-loading the primary purpose and then detailing the return value and exclusions. Every sentence earns its place, and the structure is efficient.

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?

For a read-only inspect tool with no output schema and no annotations, the description is quite complete: it lists all returned data categories, states file content is at links, and clarifies non-actions. Minor gaps like pagination or error handling exist but are not critical for this tool's straightforward purpose.

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?

The schema has zero description coverage for both parameters, so the description fully compensates by defining task_id as 'exact task_id' and partition as restricted to 'shellops' or 'shellops_pro'. This adds essential meaning beyond the empty schema fields, making parameter usage clear.

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 uses a specific verb ('Inspect') with a clear resource ('published ShellOps or ShellOps-Pro task') and identifies the exact identifiers required (task_id and partition). It distinguishes itself from sibling tools like search_tasks by emphasizing the need for an exact ID, making its purpose unambiguous.

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 context: 'by its exact task_id and partition' signals that this tool is for retrieving a known task, not for searching. It also clarifies what it does not do ('No shell execution or solution verification'), helping the agent decide when to use it. However, it does not explicitly name alternative tools, though the context is clear.

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