Skip to main content
Glama

solve_task

Route and execute one task-shaped call without learning quote/run shapes. Support-ticket routing/triage requests reuse the existing provisional canonical Pin route_571826c40685073a99510b1951e60338 when the caller omits a taxonomy or supplies exactly access_issue, billing_issue, and delivery_issue; arbitrary caller labels and examples remain caller-defined and are never remapped. Sentiment, polarity, urgency, severity, or unrelated classification remain on their requested path. Urgency, severity, and priority classification must include candidate_labels or labeled examples; Bay Run refuses to invent that taxonomy. Free during launch: no card, no signup, no email. Mint a durable key with POST https://run.huggingbay.xyz/v1/keys/free

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoSet to 'quote' for a free compact Pin quote without execution.
taskNoAlias for task_description.
textNoAlias for input.
inputNoTask input. Send text/list for ordinary tasks or an object with query/documents, content, candidate_labels, or schema. Alias: query, text, content.
queryNoAlias for input or structured query.
contentNoAlias for input.
examplesNoOptional labeled input/expected examples.
task_hintNoAlias for task_description.
my_examplesNoAlias for examples.
min_evidenceNoMinimum evidence level accepted by an explicit quote.provisional
max_price_usdNoQuote-only hard price ceiling; Pins above it are rejected before ranking.
max_latency_msNoQuote-only hard latency ceiling; unmeasured Pins are rejected honestly.
omit_raw_resultNoDecision-first projection. Defaults true for MCP: omit the raw model result while retaining decision, route, and receipt evidence.
task_descriptionNoPlain-language task to solve; Bay Run infers the model family. Alias: task, task_hint. Support-ticket routing/triage requests reuse the existing provisional canonical Pin route_571826c40685073a99510b1951e60338 when the caller omits a taxonomy or supplies exactly access_issue, billing_issue, and delivery_issue; arbitrary caller labels and examples remain caller-defined and are never remapped. Sentiment, polarity, urgency, severity, or unrelated classification remain on their requested path. Urgency, severity, and priority classification must include candidate_labels or labeled examples; Bay Run refuses to invent that taxonomy.
external_apis_allowedNoAllow Pins whose data policy permits external APIs.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
routeNo
resultNo
schemaNo
receiptNo
resultsNo
decisionNo
quote_idNo
rejectedNo
next_callNo
charged_usdNo
routed_modelNo
receipt_statusNo
decision_evidenceNo
raw_result_omittedNo
task_kind_inferenceNo
cheapest_capable_pin_idNo

TDQS

A3.8/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 and does substantial work: it discloses that caller labels/examples are never remapped, that certain classification tasks stay on their requested path, that Bay Run refuses to invent taxonomies, and that the service is free with a key endpoint. It stops short of describing execution side effects, failure behavior, or authorization details beyond minting a key, but the disclosure is strong relative to a bare description.

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?

The description is front-loaded with the core purpose and then lists concrete behavioral constraints in a logical order. It is somewhat dense and repeats the support-ticket routing rule that already appears in the schema, and the 'Free during launch' line is tangentially promotional. Still, each sentence carries useful operational 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?

Given 15 parameters, zero annotations, and an output schema, the description addresses routing behavior, taxonomy special cases, and key acquisition, which covers the most important call decisions. It does not clarify when to use this tool versus coprocessor or run_pin, nor does it explain error handling, quote-mode behavior beyond the schema, or implications of external_apis_allowed. It is adequate but has clear gaps for such a flexible router.

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 description coverage is 100%, so the schema already documents all 15 parameters and their aliases. The description adds behavioral context around candidate_labels/examples and canonical routing, but this mostly reinforces what the task_description parameter already says. The description does not materially improve parameter understanding beyond the structured schema.

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 opens with 'Route and execute one task-shaped call without learning quote/run shapes,' naming a specific action and resource while implying a contrast with lower-level tools like run_pin. It further clarifies scope with special support-ticket routing and classification constraints. It is clear, though it never explicitly names its siblings as the alternatives.

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 gives concrete usage conditions: support-ticket routing/triage reuses the canonical Pin when taxonomy is omitted or exactly access_issue, billing_issue, delivery_issue; urgency/severity/priority must include candidate_labels or examples. These are actionable when-to-use rules. However, it does not directly explain when to prefer this tool over coprocessor or run_pin beyond the 'without learning quote/run shapes' hint.

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.

TDQS

A4.1/5.0
Disambiguation4/5

The three tools separate into guard-first safety (coprocessor), generic Pin execution (run_pin), and task-routed classification (solve_task). There is some overlap because run_pin can execute canonical guard/sentiment/ticket Pins and solve_task reuses canonical routes, but the descriptions provide enough context to pick the right layer.

Naming Consistency4/5

run_pin and solve_task follow a clear verb_noun pattern, while coprocessor is a noun-only outlier that does not immediately read as an action. Overall the small set remains mostly predictable and readable.

Tool Count4/5

Three tools is a reasonable, unbloated count for a run/guard/task server, and each tool has a distinct role. It sits near the low end of the ideal range and could plausibly include pin discovery or key management tools.

Completeness4/5

Core workflows are covered: guard untrusted text, run arbitrary public Pins, and route classification/task-shaped calls, including the common guard+rerank loop. Minor gaps exist around pin discoverability, key minting, and receipt verification, but the canonical aliases and returned receipts make these workaroundable.