Skip to main content
Glama

Get task type parameters

get_task_parameters

Find exactly which fields a CapMonster task type needs from the live OpenAPI spec. Get all parameters, required fields, variant notes, and the expected solution schema to build correct tasks.

Instructions

Return the parameters for a CapMonster task type, from the live OpenAPI spec.

Use after get_supported_tasks() to look up what fields a task needs. Pass either a top-level type name (e.g. 'RecaptchaV2Task', 'TurnstileTask') or a CustomTask class name (e.g. 'DataDome', 'altcha', 'HUNT').

Returns:

  • all_parameters: every field with its type/description (nested objects like metadata are expanded).

  • required: the fields the spec marks required.

  • description: the type's own spec note. READ IT — for several types it is where the spec records that the type has mutually-exclusive VARIANTS and which fields each needs (e.g. Turnstile's cloudflareTaskType, AWS WAF's challenge/captcha/cookie option-sets). The flat required list CANNOT express those variants, so it under-reports what a given variant needs.

  • solution: the name of the solution schema this type returns.

⚠️ The flat field list is a starting point, not the whole contract. When description mentions variants/options/modes — or whenever you are unsure — confirm the exact per-variant field set and the solution shape against the worked examples via get_docs before building the task.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_typeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.11

TDQS

A5/5.0
Behavior5/5

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

With no annotations present, the description carries the full behavioral burden and meets it: it discloses the exact return keys (all_parameters, required, description, solution), that nested objects are expanded, and that the flat required list under-reports variant-specific requirements. It also warns that the flat list is a starting point, not the whole contract.

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 front-loaded with the core purpose, then uses a scannable bullet list for return values and a clearly marked warning about limitations. Every sentence adds needed operational context, with no filler or repetition of schema details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given one undocumented parameter, no annotations, and no output schema, the description is complete: it explains what to pass, what will be returned, how to interpret the required list, and where to go for further confirmation. Nothing essential for calling this tool correctly is missing.

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 input schema only defines task_type as a string with no description, so schema coverage is 0%. The description compensates strongly by giving concrete examples of valid values ('RecaptchaV2Task', 'TurnstileTask', 'DataDome', 'altcha', 'HUNT') and by explaining that both top-level type names and CustomTask class names are accepted.

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 states a specific verb and resource: 'Return the parameters for a CapMonster task type, from the live OpenAPI spec.' It also clarifies the input (top-level type name or CustomTask class name) and distinguishes itself from related tools like get_supported_tasks and get_docs.

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

Usage Guidelines5/5

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

The description gives explicit sequencing: 'Use after get_supported_tasks() to look up what fields a task needs.' It also tells the agent when to switch to get_docs, i.e., when the description field mentions variants/options/modes or when the agent is unsure about per-variant fields.

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