Skip to main content
Glama

Synthex Forge — x402 Paid Agent Services

Discover Capabilities

discover_capabilities
Read-onlyIdempotent

Give a task in plain English and get back the services that can perform it: their price, their input and output schema, what they cost in total, which are essential and which are optional, and the capabilities you asked for that NO service provides. Free, and it never invokes anything.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover_capabilities"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskNoWhat you want to do, in your own words. The Gateway derives the capability requirements from it.
limitNoHow many matches to return. Maximum 25.
budget_usdNoThe most you are willing to spend, in USD. The Gateway reports whether the matched services fit inside it. It never spends.
protocol_preferenceNoPreferred protocols (for example 'x402'). Recorded and echoed.
capabilities_requiredNoThe capabilities you need. When you give this list it IS the requirement set and the Gateway does not second-guess it.

Output Schema

NameRequiredDescriptionDefault
taskNoThe task that was matched.
notesNoAnything the caller should know about this answer.
matchesNoThe catalogue services that can perform the task.
catalogueNoWhich catalogue artefact answered, its sha256 and its service count.
budget_usdNoThe budget that was asked for.
confidenceNo'high' only when every match carries a measured price and measured latency and nothing is unmet; otherwise 'low'.
match_countNoHow many services matched.
alternativesNoOther services that cover the same requirement.
budget_statusNo'within_budget', 'over_budget', 'unknown' or 'not_requested'.
confidence_reasonNoWhy the confidence is what it is.
matches_truncatedNoTrue when more services matched than the limit allowed.
budget_shortfall_usdNoHow much over the budget the matches are, when they are.
missing_capabilitiesNoThe capabilities the task needs that NO catalogue service provides. Empty when everything the task needs is covered.
recommend_none_reasonNoWhy nothing is recommended, when nothing is.
required_capabilitiesNoThe capabilities the Gateway derived from the task.
estimated_total_cost_usdNoThe sum of the matched prices, or null when at least one price is unknown. Never an estimate.
estimated_total_cost_reasonNoWhy the total is what it is.
estimated_total_cost_statusNo'measured', 'unknown' or 'not_requested'.
required_capabilities_sourceNoWhere the requirements came from: 'task', 'capabilities_required' or 'none'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/closed-world, so the bar is lower, yet the description still adds real behavior: it is free, it never invokes anything, and budget_usd only reports fit rather than spending. It also discloses an unusual negative-result behavior (reports capabilities NO service provides), which an agent would not guess from annotations alone.

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?

Front-loaded with the action and its result, then a single short sentence carrying the safety/free guarantee. The output enumeration is dense but each clause conveys a distinct return field, and there is no filler wording.

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?

An output schema exists, so return values need not be explained in depth, and all parameters are schema-documented. The description covers the key behavioral unknowns (free, non-invoking, budget is advisory), leaving only sibling routing guidance unaddressed.

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 baseline is 3 and all five parameters are already documented in the schema. The description restates the plain-English task and budget semantics ('reports whether the matched services fit inside it. It never spends') but adds little syntax or format detail beyond what the schema provides.

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?

Specific verb+resource: 'Give a task in plain English and get back the services that can perform it', followed by an enumeration of what the response contains (price, schemas, cost totals, essential vs optional, unmet capabilities). It never names a sibling such as search_capabilities or describe_capability, so differentiation is left to inference, but the core purpose is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: 'Give a task in plain English' suggests a discovery/bootstrap step, and 'Free, and it never invokes anything' signals it is safe for exploration. There is no explicit when-to-use versus search_capabilities/describe_capability, and no stated when-not-to-use or prerequisite conditions.

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.