Skip to main content
Glama

Lock a naira rate

lock_rate
Read-only

Price a rate lock for a future naira payment from the on-chain futures book: the locked rate, premium over today, margin needed, and the order to sign. Prices only; nothing is placed. Needs an API key.

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": {
      "side": "<side>",
      "amountUsd": "<amountUsd>"
    },
    "name": "lock_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes"buy_usd": dollars needed later (importer, payroll). "sell_usd": dollars received later.
marketNoA futures series such as cNGN-30NOV26; defaults to the nearest
amountUsdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/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, and the description reinforces this with 'nothing is placed' rather than contradicting it. It adds real value beyond the annotations by disclosing the API-key requirement and naming exactly what the response contains.

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?

The core purpose and its outputs are front-loaded in the first sentence, with the read-only and auth caveats following in two clipped fragments. Dense but purposeful, with no filler.

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?

With no output schema present, the description correctly takes on the burden of describing the return values (locked rate, premium, margin, signable order) and states the auth requirement. Only the semantics of the optional market parameter are left entirely to the schema.

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 coverage is 67%, with the side enum and market defaulting already documented in the schema. The description adds contextual meaning ('future naira payment') but does not clarify the market series argument or the relationship between amountUsd and the priced margin, so it does not compensate for the coverage gap.

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?

The description gives a specific verb ('Price a rate lock') and resource ('future naira payment from the on-chain futures book'), then enumerates the four outputs. It is clearly distinguishable from siblings like price_carry or quote_swap through the 'rate lock' framing, though it never names an alternative explicitly.

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?

'Prices only; nothing is placed' and 'Needs an API key' establish an important precondition and scope. However there is no explicit guidance on when to pick this over price_carry or naira_derivatives, so the routing signal is implied by domain rather than stated.

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