Skip to main content
Glama

FACTOR — Integer Factorization as a Service

get_payment_instructions

Read-onlyIdempotent

Authenticated read: obtain the invoice's pinned USDC network, asset, recipient and amount. Does not authorize spending. Wallet owner approval and invoice nonce signing are required outside this tool.

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": {
      "id": "<id>"
    },
    "name": "get_payment_instructions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPrivate gateway request UUID returned in id by create_bounty_request. Supply it with the owning client's bearer token to retrieve payment instructions; not a native bounty ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent and non-destructive, but the description adds real value beyond them: it flags that authentication is required, that this call performs no spending authority, and that approval/nonce signing are external prerequisites. Failure modes (e.g., invoice not yet approved) are not covered, which keeps it below a 5.

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 sentences, front-loaded with the action and its return fields, then immediately the safety boundary and external prerequisites. Every clause earns its place with no restatement of the name or schema.

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?

For a one-parameter read tool with full annotation and schema coverage, the definition covers what it returns, its auth posture and the out-of-band steps needed to actually pay. Nothing an agent needs to call it correctly is missing.

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?

With a single parameter and 100% schema description coverage, the schema already explains the UUID, its origin from create_bounty_request, and the bearer-token requirement. The description adds no further meaning about the id, so the baseline of 3 applies.

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?

States a specific verb and resource (obtain the invoice's payment instructions) and enumerates exactly what comes back: pinned USDC network, asset, recipient and amount. It does not explicitly differentiate itself from siblings like get_payment_status, so it stops short of a 5.

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?

Makes the context of use explicit — an authenticated read of invoice payment details — and bounds it with "Does not authorize spending" plus the note that wallet owner approval and nonce signing happen outside the tool. No named alternative is given, so it is clear context without explicit routing.

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