Skip to main content
Glama

All AI LLC API: documents and calculators

Match a buying request to offers

offer_match
Read-onlyIdempotent

Ranks All AI LLC offers (forms, contracts, agent packs, tools) and ALL AI Forms catalog hits for a plain-language request, with checkout links. PAID: 10 credits ($0.01) per successful call from one-time prepaid credits; send Authorization: Bearer <api_key>. Failed or empty calls are free.

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": {
      "q": "<q>"
    },
    "name": "offer_match"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesWhat the buyer needs, e.g. 'contractor agreement Texas'.
api_keyNoOptional. Only for clients that cannot send an Authorization header.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the commercially critical behavior: 10 credits ($0.01) per successful call drawn from prepaid credits, Bearer-token auth, and that failed or empty calls are free. That cost and billing-on-success detail is exactly the context an agent needs before invoking a paid tool, and nothing contradicts the readOnly/idempotent hints.

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?

Two sentences, front-loaded with what the tool returns and followed by the payment/auth terms; no filler. The parenthetical enumerations and price figure are dense but each carries real information, so only minor tightening is possible.

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 two-parameter, read-only search tool with full schema coverage and no output schema, the definition covers purpose, cost, and authentication adequately. Only a hint at result shape or ranking/pagination behavior is missing, which is a small gap.

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 100%, so both q and api_key are already documented, and the description adds little new meaning about q's form beyond restating that it is a plain-language request. The auth-header framing reinforces api_key's purpose but does not go beyond the schema.

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 (ranks) and specific resources (All AI LLC offers plus AI Forms catalog hits) driven by a plain-language request, and notes checkout links in the result. It is clearly not one of the generate_*/calculate_* siblings, though it does not name an alternative such as catalog_query or get_offer to sharpen the distinction.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage ('for a plain-language request') but never states when to choose this over catalog_query, get_offer, or the generator tools, and gives no exclusions or preconditions beyond the auth/payment note. An agent must infer routing on its own.

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.