Skip to main content
Glama
Wiro MCP Server

Wiro MCP Server

Official
by wiroai

Get a Wiro task

get_task
Read-onlyIdempotent

Monitor and retrieve results for AI tasks. Pass a task ID or token to check the current status or wait up to 45 seconds for final output from Wiro MCP Server.

Instructions

Get the current status and output of one task. It does not return the prompt or settings the task ran with. By default this is an immediate check. For an active task, follow the returned nextAction instead of submitting another run. Completed tool-call turns expose ordered typed segments and a run_model continuation template whose ordinary params contain previousTaskToken, toolOutputs and the turn's session_id when it had one. When the task is complete, present every returned media resource in the user-facing response instead of reporting only task metadata.

Input Schema

NameRequiredDescriptionDefault
taskidNoThe task ID (alternative to tasktoken).
tasktokenNoThe task token returned from run_model.
wait_secondsNoOptional bounded wait before returning (0-45 seconds, default 0).

Output Schema

NameRequiredDescriptionDefault
taskYes
errorNo
stateYes
outputsYes
responseNo
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv1.4.1
    • removedOutput schema / properties / outputs / items / properties / url / format
      Removed value: -"uri"
    • addedOutput schema / properties / task / properties / chargedUsd
      Added value: +{
      +  "description": "What the payer was charged, after any discount.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / task / properties / costUsd / description
      Added value: +"The model's list price for this task."
  2. Changed3 schema fields changedv1.3.0
    • addedOutput schema / properties / outputs / items / properties / finishreason
      Added value: +{
      +  "enum": [
      +    "stop",
      +    "tool_calls",
      +    "length",
      +    "content_filter",
      +    "error"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / outputs / items / properties / segments
      Added value: +{
      +  "items": {
      +    "anyOf": [
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "text": {
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "thinking",
      +              "answer"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "text"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "arguments": {
      +            "type": "string"
      +          },
      +          "call_id": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "enum": [
      +              "in_progress",
      +              "completed",
      +              "incomplete"
      +            ],
      +            "type": "string"
      +          },
      +          "type": {
      +            "const": "function_call",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "id",
      +          "call_id",
      +          "name",
      +          "arguments",
      +          "status"
      +        ],
      +        "type": "object"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "call_id": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "input": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "status": {
      +            "$ref": "#/properties/outputs/items/properties/segments/items/anyOf/1/properties/status"
      +          },
      +          "type": {
      +            "const": "custom_tool_call",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "id",
      +          "call_id",
      +          "name",
      +          "input",
      +          "status"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / outputs / items / properties / usage
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "input_tokens": {
      +      "maximum": 1000000000000000,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "input_tokens_details": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "audio_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "cache_write_1h_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "cache_write_5m_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "cache_write_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "cached_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "image_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "text_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "video_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "output_tokens": {
      +      "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +    },
      +    "output_tokens_details": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "accepted_prediction_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "audio_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "image_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "reasoning_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "rejected_prediction_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "text_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "video_tokens": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "server_tool_use": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "bash_code_execution_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "code_execution_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "computer_use_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "file_search_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "image_generation_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "text_editor_code_execution_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "web_fetch_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        },
      +        "web_search_requests": {
      +          "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "total_tokens": {
      +      "$ref": "#/properties/outputs/items/properties/usage/properties/input_tokens"
      +    }
      +  },
      +  "required": [
      +    "input_tokens",
      +    "output_tokens",
      +    "total_tokens"
      +  ],
      +  "type": "object"
      +}
  3. Changed2 schema fields changedv1.2.3
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  4. Changed4 schema fields changedv1.2.1
    • changedInput schema / properties / taskid / description
      Previous value: -"The task ID (alternative to tasktoken)"New value: +"The task ID (alternative to tasktoken)."
    • changedInput schema / properties / tasktoken / description
      Previous value: -"The task token returned from run_model"New value: +"The task token returned from run_model."
    • addedInput schema / properties / wait_seconds
      Added value: +{
      +  "default": 0,
      +  "description": "Optional bounded wait before returning (0-45 seconds, default 0).",
      +  "maximum": 45,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "error": {
      +      "type": "string"
      +    },
      +    "nextAction": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "arguments": {
      +          "additionalProperties": {},
      +          "type": "object"
      +        },
      +        "reason": {
      +          "type": "string"
      +        },
      +        "tool": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "tool",
      +        "arguments",
      +        "reason"
      +      ],
      +      "type": "object"
      +    },
      +    "outputs": {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "kind": {
      +            "enum": [
      +              "image",
      +              "video",
      +              "audio",
      +              "text",
      +              "file"
      +            ],
      +            "type": "string"
      +          },
      +          "mimeType": {
      +            "type": "string"
      +          },
      +          "name": {
      +            "type": "string"
      +          },
      +          "sizeBytes": {
      +            "anyOf": [
      +              {
      +                "minimum": 0,
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "text": {
      +            "type": "string"
      +          },
      +          "url": {
      +            "format": "uri",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "mimeType",
      +          "sizeBytes",
      +          "kind"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "response": {
      +      "type": "string"
      +    },
      +    "state": {
      +      "enum": [
      +        "submitted",
      +        "running",
      +        "completed",
      +        "failed",
      +        "cancelled"
      +      ],
      +      "type": "string"
      +    },
      +    "task": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "costUsd": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "durationSeconds": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "exitCode": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "model": {
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        },
      +        "token": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "state",
      +    "task",
      +    "outputs"
      +  ],
      +  "type": "object"
      +}
  5. First observedv1.1.4

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description still adds real behavioral context: what is deliberately omitted from the response, the default non-blocking behavior, the `nextAction` continuation protocol, and the instruction to surface returned media to the user. The sentence about completed tool-call turns exposing typed segments and a `run_model` continuation template is dense but discloses output shape the agent must act on.

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 core purpose is front-loaded and the omission of prompt/settings earns its place. However, the middle sentence chains several clauses about segments, continuation templates and `params` keys into one dense run-on that is hard to parse, and the final media-presentation instruction is a workflow rule rather than tool behavior.

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?

With an output schema present, the description doesn't need to document return values, yet it usefully explains what is intentionally absent and how to continue an active run. The remaining gaps are the ambiguous identifier requirement and the lack of explicit contrast with wait_for_task for blocking scenarios.

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 100%, so `taskid`, `tasktoken` and `wait_seconds` are documented in the schema and the baseline of 3 applies. The description adds nothing about the taskid-vs-tasktoken choice — notable because zero parameters are marked required, so the agent gets no help resolving which identifier is mandatory or how the bounded wait interacts with 'immediate check'.

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?

States a specific verb and resource ('Get the current status and output of one task') and immediately bounds scope by saying it does not return the prompt or settings. It is clearly distinguishable from list_tasks and get_task_price, though it never names wait_for_task, the nearest sibling, so the polling alternative is only implied.

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

Usage Guidelines3/5

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

It tells the agent this is 'by default an immediate check' and to follow `nextAction` rather than re-submitting a run, which is genuine usage guidance. But it never says when to prefer wait_for_task over this tool, nor how to use `wait_seconds` for a bounded wait, so the key routing decision is left implicit.

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