Skip to main content
Glama

Exchange.news — Crypto offers and campaigns

Search public offers

search_codes
Read-onlyIdempotent

Search brand aliases, categories and benefits. Generic promo/code words are ignored. Exact brand matches come first. Returns only catalog records; unknown queries return an empty array. Product and regional applicability remain subject to each caveat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesSearch text, e.g. OKX EU stock perps discount.
offsetNo
regionNoOptional region context. Does not establish eligibility.
productNoOptional product context. Does not establish eligibility.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
countYes
totalYes
noticeYes
offsetYes
resultsYes
has_moreYes
disclosureYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive behavior. The description adds meaningful behavioral details: generic promo/code words are ignored, exact brand matches are prioritized, only catalog records are returned, unknown queries yield an empty array, and product/region do not establish eligibility. These are valuable clarifications beyond the annotations.

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 compact and front-loaded, with each sentence contributing meaningful information. It covers matching behavior, ordering, return type, empty results, and caveats without unnecessary filler. This is an efficient, well-structured description.

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 search tool with an output schema and clear safety annotations, the description covers the most important behavioral aspects: what is searched, matching rules, ordering, empty results, and non-eligibility caveats. Minor gaps remain around pagination and how limit/offset interact with the result list, but these are partly addressed by the schema and output 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 60%, with query, region, and product described in the schema. The description adds context by noting matching behavior and that product/regional applicability is caveated, which enriches region and product semantics. However, it does not clarify limit or offset semantics, and it does not fully compensate for the missing schema descriptions.

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 clearly identifies the action ('Search') and the resources: brand aliases, categories, and benefits. It adds behavioral specifics such as exact brand matches first and catalog-record-only returns, making the tool's purpose easy to grasp. It does not explicitly distinguish itself from siblings like list_brands or get_code, 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 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: it is for searching brand aliases, categories, and benefits, and generic promo/code words are ignored. However, it gives no explicit when-not-to-use guidance or references to sibling tools such as get_code or list_brands. Usage context is mostly implied 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