Skip to main content
Glama

Quote a capability

hydracept_quote_capability
Read-onlyIdempotent

Preview what a run would cost — does not execute, create a job, or charge the wallet. Use before spending when the user asks about price; use hydracept_run or hydracept_submit_job only to execute. Not the same as request_capability_quote (POST /mcp/full) on the full profile (human-paid capability commission). Requires bearer API key. No charge for the quote itself. Returns: Quote envelope with customerTotal and currency (no wallet charge). Errors: WORKSPACE_KEY_REQUIRED, INVALID_ARGUMENT, NOT_FOUND, FundingRequired when quote cannot be priced.

Input Schema

NameRequiredDescriptionDefault
bodyNoInvocation payload object validated against the capability schema.
inputNoAlias for body; do not pass both.
capability_keyYesRequired capability registry key unless only legacy aliases are passed.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Invocation payload object validated against the capability schema."
    • addedInput schema / properties / capability_key / description
      Added value: +"Required capability registry key unless only legacy aliases are passed."
    • addedInput schema / properties / input / description
      Added value: +"Alias for body; do not pass both."
  2. Changed3 schema fields changed
    • removedInput schema / properties / body / description
      Removed value: -"Invocation payload object validated against the capability schema."
    • removedInput schema / properties / capability_key / description
      Removed value: -"Required capability registry key unless only legacy aliases are passed."
    • removedInput schema / properties / input / description
      Removed value: -"Alias for body; do not pass both."
  3. Changed3 schema fields changed
    • addedInput schema / properties / body / description
      Added value: +"Invocation payload object validated against the capability schema."
    • addedInput schema / properties / capability_key / description
      Added value: +"Required capability registry key unless only legacy aliases are passed."
    • addedInput schema / properties / input / description
      Added value: +"Alias for body; do not pass both."
  4. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial value beyond them: it does not execute, create a job, or charge the wallet, requires a bearer API key, and lists specific error codes including FundingRequired.

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?

Front-loads the key non-execution guarantee before routing instructions, and each subsequent clause adds distinct value (auth, cost, return, errors). It is dense and slightly packed with parentheticals, but no sentence is wasted.

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?

Even though an output schema exists, the description summarizes the return envelope (customerTotal, currency) and enumerates failure modes, covering everything an agent needs to call this correctly.

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 body, input, and capability_key are already documented in the schema (including the body/input alias caveat and the required-key note). The description adds no parameter-level meaning beyond that, so baseline 3 applies.

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?

States a specific verb+resource: previewing the cost of a capability run. It explicitly disambiguates from execution siblings (hydracept_run, hydracept_submit_job) and from request_capability_quote on the full profile.

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?

Gives explicit when-to-use (before spending, user asks about price) and when-not-to-use (run/submit_job are for execution), plus names a near-miss alternative (request_capability_quote) with the condition that distinguishes it.

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.