Skip to main content
Glama

Matrix Agent Tools (Testnet)

matrix_quote

Create a testnet per-job quote. Requires an enrolled machine bearer token. Returns the x402 HTTP payment URL. Live Commerce Guard and Ad Tracking Guard require an owned, current DNS target grant. Supply url and grant_id inside payload.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "route": "<route>",
      "payload": "<payload>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "matrix_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeYes
payloadYes
idempotency_keyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the auth requirement (enrolled machine bearer token), the return value (x402 HTTP payment URL), and a non-obvious authorization precondition tied to specific guard types. It omits side effects of a "create" call and any error or retry behavior.

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?

Four short sentences, front-loaded with the core action and then the prerequisites. No filler, though the guard-grant sentence could be tightened or tied more explicitly to the payload fields it references.

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?

The absence of an output schema is offset by the stated return value, and auth/preconditions are covered. However, for a mutation tool with a free-form nested payload at 0% schema coverage and no annotations, the missing meaning of route, idempotency semantics, and failure modes leave real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% with three required parameters, so the description must compensate. It only clarifies part of the nested payload (url and grant_id) and says nothing about what route should contain or how idempotency_key is interpreted, leaving most of the surface undocumented.

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?

"Create a testnet per-job quote" gives a specific verb and resource, and the mention of the x402 payment URL clarifies what the tool produces. It does not explicitly contrast itself with matrix_catalogue or matrix_job_status, but the quote-creation scope is distinct enough to infer.

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?

The description states a prerequisite (an enrolled machine bearer token) and a conditional requirement (an owned, current DNS target grant for Live Commerce Guard and Ad Tracking Guard), which implies when the tool is callable. It never says when to prefer this tool over the sibling tools or what to do if the grant/token is missing.

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.

Resources