Skip to main content
Glama

Run a public Bay Run Pin

run_pin

Run a public Bay Run Pin with just its input — {pin_id, input}. Canonical classification and Guard Pins also accept a bounded list of up to 8 strings; rows run through the existing scalar contract and return ordered per-row outcomes. max_price_usd and idempotency_key are OPTIONAL: omit max_price_usd to inherit the pin's mint ceiling; omit idempotency_key and a deterministic one is auto-minted from the input (retries replay from the durable Pin run authority across workers and restarts when configured). omit_raw_result is OPTIONAL and defaults to true for this MCP tool; set it false only when the receipt-bound raw result is required. REST keeps the same decision-first default; set it false for the explicit compatibility opt-in. max_price_usd is a hard per-call ceiling against the route's actual priced cost, never a promise to spend; successful zero-ceiling calls include receipt-bound per-row no_spend_evidence. Batch summaries make no aggregate no-spend claim unless every row receipt verifies. For the common retrieval loop, run the Guard Pin before generation or tool use, then run the Rerank Pin on retrieved documents before adding them to context. For canonical Pins, act on decision.action first; result is the preserved raw model output bound by the receipt when omit_raw_result=false. Canonical aliases are guard, sentiment, tickets, and rerank; responses always return the underlying durable pin_id. Each scalar result includes its receipt-derived execution_id and a one-shot feedback URL/hint. The hint is write-authorized only for the authenticated execution credential that created that execution or an operator-attested owner evaluation credential; public demo, static, and OAuth bearers cannot submit feedback or corrections. Corrected or rejected held-out retention requires the exact receipt-bound input. Cross-Pin export or route changes still require evaluation:owner_write. Canonical pins callable with just {input}: prompt-injection guard route_00857aa05f863c2cdba0e908366b2cca; provisional sentiment route_1c7472e940dc02517f5af93792bf07ee; provisional ticket routing route_571826c40685073a99510b1951e60338; provisional document reranking route_f5411cdb31b03621742a58371fa95732. 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
inputYesInput matching the pinned task.
pin_idYesPublic Pin id or canonical alias guard, sentiment, tickets, or rerank. Canonical ids and evidence labels are listed in the tool description.
max_price_usdNoOptional caller-authorized USD ceiling. Omit to inherit the pin's mint ceiling.
idempotency_keyNoOptional stable retry key. Omit and it is auto-minted from {pin_id, input}.
omit_raw_resultNoOptional decision-first projection. Defaults true for MCP; true omits the raw model result but retains decision and receipt evidence.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries full behavioral burden and discharges it thoroughly: it discloses optionality/defaults for max_price_usd, idempotency_key, and omit_raw_result; the hard-ceiling pricing semantics; aut-minted idempotency and replay behavior; receipt-bound no-spend evidence; feedback write-auth restrictions; and evaluation/export permission requirements. This is exceptional transparency beyond what the schema could imply.

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 dense and every section carries real operational information, but it is a long wall of text without paragraph breaks, and a few phrases are redundant across MCP and REST (e.g. 'REST keeps the same decision-first default'). The core call is front-loaded, but scanning would be easier with structural grouping or heavier trimming.

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 the absence of annotations and presence of an output schema, nothing critical is missing: the description covers key minting/access, pricing, idempotency, canonical route IDs, workflow ordering, decision.action semantics, and feedback/correction auth. An agent has enough to select and invoke the tool correctly without external documentation.

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?

Schema coverage is already 100%, yet the description adds meaning everywhere: pin_id accepts canonical aliases; idempotency_key is deterministically auto-minted and replays from the durable authority; max_price_usd is a hard per-call ceiling never a spending promise; omit_raw_result defaults true and controls receipt-bound raw output. It even documents the bounded list-of-strings behavior for canonical/Guard Pins, which is not represented in the schema.

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?

Opens with a specific verb and resource: 'Run a public Bay Run Pin' followed by the exact required input shape {pin_id, input}. It also lists canonical aliases and route IDs, confirming exactly what operation the tool performs. This goes well beyond a tautological restatement of the title.

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?

It gives explicit workflow guidance: run the Guard Pin before generation or tool use, then run the Rerank Pin on retrieved documents before context insertion, and act on decision.action first for canonical Pins. What it does not do is explicitly contrast run_pin with sibling tools coprocessor or solve_task, nor state hard exclusion cases, so it falls one step short of full when-not-to-use guidance.

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.