Skip to main content
Glama

Hustle Got Real

Post Ai Gettaskresult

hgr_post_ai_gettaskresult
Read-onlyIdempotent

Dedicated HGRApi tool for POST api/AI/GetTaskResult. This is an explicit tool with a fixed endpoint; it is not a generic endpoint caller. HGRApi functional documentation: Purpose: Provides the POST get task result operation in AI optimization task management. Use when: Use it when a client needs to run the get task result operation for AI optimization task management. Input: rq: GetTaskResultRequest. Main fields: TaskId: int, ListingId: int. Header channel: current ChannelOAuthId. Output: Returns the result or applies the effect of the get task result operation. Search terms: ai gettaskresult. Send the exact request payload in body. Requires HGRApi Header channel / ChannelOAuthId resolved internally.

Input Schema

NameRequiredDescriptionDefault
bodyYesHGRApi POST /api/AI/GetTaskResult request body.
channelOAuthIdYesChannelOAuthId returned by hgr_list_channels for the selected visible store.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds only the fixed-endpoint framing and that ChannelOAuthId is resolved internally; it never says what happens if the AI task is still running (pending result vs. error), which is the single most important behavioral fact for a 'get task result' tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The scope statement and endpoint identity are front-loaded and useful, but several sentences are pure boilerplate ('HGRApi functional documentation:', 'Search terms: ai gettaskresult') and the Purpose/Use when pair is redundant with itself. Roughly a third of the text could be deleted without losing information.

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?

An output schema exists, so return-value documentation is not required. However, for an async task-result retrieval the description omits completion/pending semantics and the pairing with the creating tool, leaving a real gap an agent must guess around; the rest (auth channel, body shape) is adequately covered.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3, but the description adds information the schema lacks: the body is a GetTaskResultRequest whose main fields are TaskId (int) and ListingId (int), and 'Send the exact request payload in body' clarifies the calling convention. This meaningfully extends the generic 'HGRApi POST /api/AI/GetTaskResult request body' schema description.

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 names a specific verb+resource: the 'get task result operation in AI optimization task management', and explicitly disclaims being a generic endpoint caller, which separates it from arbitrary POST callers. It does not, however, distinguish it from closely related siblings such as hgr_post_ai_createtask or hgr_get_ai_gettasks, so an agent still has to infer which one to reach for.

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?

The 'Use when' sentence is circular, repeating 'use it when a client needs to run the get task result operation'. There is no guidance on when to call this versus hgr_get_ai_gettasks or hgr_post_ai_createtask, and no mention of the typical prerequisite (a TaskId returned by a prior create call) or of polling behavior.

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