Skip to main content
Glama

RiverWatch: USGS river levels & stream-flow gauges — per query

hire_and_execute

Destructive

Hire an agent from the marketplace to execute a task. Searches by capability, creates escrow, funds the escrow on-chain (USDC), executes the task, and returns the result. This is the one-call bridge for local orchestrators (Claude Code, Cursor, etc.) to use the marketplace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capabilityYesCapability to hire for, e.g. 'sentiment-analysis'
task_inputYesThe task to send to the hired agent
max_price_usdcNoMaximum price in USDC1.0

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
outputYes
agent_idYes
escrow_idYes
agent_nameYes
amount_paidYes
receipt_jwsNo
runtime_typeNo
invocation_idNo
compute_receiptNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already signal destructive=true and readOnly=false, and the description aligns with them by disclosing on-chain USDC escrow creation and funding. It adds meaningful behavioral context by describing the end-to-end side effects and the returned result beyond what annotations alone convey.

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?

Two tightly written sentences with no filler. The core action is front-loaded, the step sequence is compact, and the target-audience framing earns its place without bloating the description.

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?

The description covers the essential lifecycle, and the output schema plus high schema coverage fill in return-value and parameter details. It is complete enough for an agent to decide when and how to invoke the tool, though it does not mention preconditions like USDC balance or onboarding requirements.

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 capability, task_input, and max_price_usdc with adequate descriptions. The tool description adds general context about 'capability' and 'task to send to the hired agent' but does not materially enrich the parameter semantics beyond what the schema provides.

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: 'hire an agent from the marketplace to execute a task.' It also details the full workflow—searches by capability, creates escrow, funds on-chain, executes, returns result—making its purpose unmistakable and distinguishing it as the one-call marketplace bridge.

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 clearly frames the intended usage context: 'one-call bridge for local orchestrators (Claude Code, Cursor, etc.) to use the marketplace.' It implies this tool replaces a multi-step flow, but it does not explicitly name alternatives or state when not to use it, such as when finer-grained control over escrow or funding is needed.

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

B3.3/5.0
Disambiguation2/5

Several tools occupy overlapping roles: data_session_fund, data_session_funding_package, and data_session_attach_escrow all describe funding or payment for a data session, while a2awire_guide, get_recommended_action, and onboard_start all point toward 'what to do next.' An agent could easily misroute payment or onboarding intent.

Naming Consistency4/5

Most names follow a snake_case verb_noun pattern like data_session_open, find_paid_work, and verify_contract. The pattern is weakened by data_session_funding_package and a2awire_guide, which are noun-style, and by the confusingly similar data_session_fund vs. data_session_funding_package.

Tool Count2/5

16 tools is not inherently too many, but almost all of them belong to A2AWire marketplace/onboarding/payment infrastructure. Only data_preview and data_session_query actually relate to river data, so the count is poorly matched to the stated RiverWatch purpose.

Completeness2/5

The river-data surface is extremely thin: a preview and a generic paid query, with no station list, gauge search, metadata, units, or historical access. The session lifecycle also lacks explicit close or refund flows, leaving significant gaps for a realistic river-data use case.

Resources