Skip to main content
Glama

P2P ads usable at a size

get_p2p_ads
Read-only

The P2P ads (Bybit, Binance) that can fill an order of this size in a local currency, after reputation and AI screening, best first.

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": {
      "code": "<code>",
      "side": "<side>",
      "amount": "<amount>"
    },
    "name": "get_p2p_ads"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesLocal currency, e.g. "KES"
railNo
sideYes"ask": the user buys USDT with local currency. "bid": the user sells USDT for local currency.
amountYesOrder size in the local currency

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context beyond annotations: results are filtered by reputation and AI screening, sourced from Bybit and Binance, and returned best first.

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?

The description is a single, front-loaded sentence with no wasted words. It conveys the resource, scope, filtering, and ordering efficiently.

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?

For a read-only, open-world tool with no output schema, the description gives enough context to understand what is returned: screened P2P ads that can fill the order, ordered best first. It does not describe pagination or result fields, but those gaps are minor for this tool type.

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 75%, so the schema already documents most parameters. The description reinforces that 'amount' is an order size in local currency and 'code' is the local currency, but it does not add meaning for 'side' or 'rail' beyond what the schema provides.

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?

The description states a specific resource (P2P ads from Bybit and Binance) and a precise scope: ads that can fill an order of a given size in a local currency, after screening, best first. This is clearly distinguishable from sibling tools such as quote_swap or lock_rate.

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 implies when to use the tool: when you need P2P ads capable of filling a specific order size in a local currency. However, it does not explicitly state when not to use it or name alternative tools for related tasks.

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