Skip to main content
Glama

Get one offer

get_offer
Read-only

Full details for one offer by slug (the last path segment of an aifree.dev/offer/... URL), including the write-up and, for API free tiers, the models served with their published rate limits (rateLimit: rpm, rpd, tpm, optional tpd and rpmo; null = not published), the API id of each model when recorded (apiId), whether its vendor documents JSON mode / structured output (structuredOutput, omitted when unknown), and the API base URL with its request shape (apiBaseUrl, apiCompat: openai, anthropic, google or custom).

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": {
      "slug": "<slug>"
    },
    "name": "get_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds valuable response semantics: rate-limit field meanings, null = not published, structuredOutput omitted when unknown, and apiCompat enum values. It does not cover not-found behavior or errors, but the added field-level contract is meaningful.

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?

One dense sentence, front-loaded with the core action and followed by the return-field contract. It is efficient but the long parenthetical enumeration is somewhat run-on and could be broken for readability.

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, the description takes on responsibility for explaining return contents, and it does so thoroughly (write-up, models, rate limits, apiId, structuredOutput, apiBaseUrl, apiCompat). Missing only edge-case behavior such as unknown slug handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must carry parameter meaning, and it does: slug is defined as the last path segment of an aifree.dev/offer/... URL, which is crucial for constructing a valid call. It does not mention the minLength/maxLength constraints from the schema, keeping it just short of a 5.

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?

States a specific verb ('Full details for one offer') and resource, and pins the identity mechanism ('by slug, the last path segment of an aifree.dev/offer/... URL'). This clearly distinguishes it from siblings like search_free_ai_offers, compare_offers, and list_free_llm_apis.

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

Usage Guidelines4/5

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

The slug-format hint (last path segment of an aifree.dev/offer/... URL) gives an agent concrete guidance on how to call it and implies it is a single-record lookup. There is no explicit when-to-use vs. compare_offers or find_models, but the single-record scope is clear from the purpose statement.

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.