Skip to main content
Glama

Topic News PR Distribution

create_order

Creates a Topic News order and PayPal checkout. Returns approval URL. Buyer must authorize PayPal payment.

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": {
      "service_id": "<service_id>",
      "customer_email": "<customer_email>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
service_idYes
customer_emailYes
idempotency_keyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that this is a mutating, money-involving operation that hands back an approval URL requiring buyer action. It omits what happens on retry, whether an unpaid order expires, what errors occur, and any auth requirements — meaningful gaps for a payment tool.

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?

Three short sentences, front-loaded with the action, then the return value, then the constraint on the caller. Nothing is wasted, though the last sentence shades slightly toward restating the approval-URL behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a payment-mutating tool with no annotations, no output schema, and 0% parameter coverage, the description is too thin. It explains the happy-path flow but not parameter meaning, idempotency/retry behavior, or failure modes an agent needs before invoking it.

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%, so all three parameters (service_id, customer_email, idempotency_key) are undocumented in both places. The description adds no meaning to any of them, and the idempotency_key in particular is left completely opaque despite governing retry safety on a payment-creating call.

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: creates a Topic News order plus a PayPal checkout, and names the return value (approval URL). It implicitly separates this from the downstream capture step, but never names a sibling such as capture_paypal_payment or get_order_status, so differentiation is inferred rather than explicit.

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?

'Buyer must authorize PayPal payment' hints that this is step one of a two-step flow, which is useful implied guidance. However, it never states when to call this versus checking status or capturing payment, and gives no prerequisites (account setup, capabilities, auth) or conditions under which not to call 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.