Skip to main content
Glama

execute_task

Execute a research task using a validated provider. This tool costs $0.01 USDC per successful call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYes
budgetNo
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"https://json-schema.org/draft/2020-12/schema"New value: +"http://json-schema.org/draft-07/schema#"
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "properties": {
      -    "attempts": {
      -      "items": {
      -        "type": "string"
      -      },
      -      "type": "array"
      -    },
      -    "budget": {
      -      "type": "number"
      -    },
      -    "error": {
      -      "type": "string"
      -    },
      -    "fallback_used": {
      -      "type": "boolean"
      -    },
      -    "provider": {
      -      "type": "string"
      -    },
      -    "recommended_provider": {
      -      "type": "string"
      -    },
      -    "requested_provider": {
      -      "type": "string"
      -    },
      -    "results": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "snippet": {
      -            "type": "string"
      -          },
      -          "title": {
      -            "type": "string"
      -          },
      -          "url": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "title",
      -          "url"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "status": {
      -      "type": "string"
      -    },
      -    "task": {
      -      "type": "string"
      -    },
      -    "zero_out_of_pocket": {
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "status",
      -    "fallback_used",
      -    "results",
      -    "attempts",
      -    "zero_out_of_pocket"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It helpfully discloses a per-call cost ($0.01 USDC per successful call), but omits auth/permission needs, what happens to the task, how budget is enforced, and what a caller gets back.

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?

Two short sentences with zero filler, and the core action is front-loaded. Efficient, though the second sentence is the only substantive detail.

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?

For a 3-parameter tool with no annotations, no output schema, and 0% schema coverage, the description is too thin. It should explain task input expectations, budget behavior, and provider selection to be callable correctly.

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?

Schema description coverage is 0% across 3 parameters, so the description must compensate and does not. 'Validated provider' vaguely points at the provider enum, but the task format and the budget parameter's role and default (0) are left unexplained.

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 (execute) and resource (research task), plus a qualifier about the provider. Clear on its own, but it offers no differentiation from the sibling optimize_task, so an agent cannot tell when this one is the right choice.

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?

There is no when-to-use guidance and no mention of the alternative optimize_task. The only hint at context is 'using a validated provider,' which does not tell the agent which conditions select this tool over its sibling.

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