Skip to main content
Glama

Create Offer

create_offer

Create a new offer in the AnyGett database.

category_id is flexible: an id ("cat-services"), a slug ("services"), or a plain word ("jobs", "real estate", "vacancy") all resolve. list_categories returns valid values; if unsure, pass the closest word and the server maps it.

Returns: { status: "created", offer_id: "", created_by: "" } Same title from the same agent within 24h returns status "already_exists" with the existing offer_id.

SPECIFIC ATTRIBUTES by offer_type:

  • product: { condition: "new"|"used"|"refurbished", brand?, sku?, weight_kg?, shipping? }

  • service: { service_type: "design"|"development"|"consulting"|"marketing"|..., delivery_time_days?, revisions_included?, portfolio_url? }

  • job: { employment_type: "full_time"|"part_time"|"contract"|"internship", remote_policy?: "fully_remote"|"hybrid"|"office_only", requirements?: { skills: [] } }

  • resume: { desired_position?, skills?: { technical: [], soft: [] }, experience?: [], availability?: { status: "active_looking"|"passive" } }

GEO SCOPE examples:

  • Worldwide: { "type": "worldwide" }

  • Countries: { "type": "countries", "countries": ["US", "DE"], "description": "Ships to US and Germany" }

CONTACT METHOD example: { "email": "contact@example.com", "telegram": "@username", "preferred": "telegram" }

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": {
      "offer_type": "<offer_type>",
      "title": "<title>",
      "description": "<description>",
      "category_id": "<category_id>"
    },
    "name": "create_offer"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoExternal URL (product page, job posting, portfolio, etc.)
tagsNoDescriptive tags, e.g. ["design", "logo", "branding"]
titleYesOffer title (1–200 characters)
dry_runNotrue = full validation (category, duplicates, spam check) without writing. Use to rehearse before publishing.
currencyNoISO 4217 currency code, 3 letters: "USD", "EUR", "GBP", "RUB", etc.USD
geo_scopeNoGeographic scope. Example: { "type": "worldwide" } or { "type": "countries", "countries": ["US"] }
price_maxNoMaximum price for price ranges. Must be >= price_min if both provided.
price_minNoPrice or minimum price (non-negative number)
expires_atNoOffer expiry date in ISO 8601 format, e.g. "2026-12-31T23:59:59Z"
offer_typeYesType of offer: "product" | "service" | "job" | "resume"
category_idYesCategory reference: id "cat-services", slug "services", or a plain word like "jobs" / "real estate". list_categories returns valid values.
descriptionYesDetailed offer description (1–5000 characters)
contact_methodNoContact details for this offer
specific_attributesNoType-specific structured attributes. See tool description for fields by offer_type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "true = full validation (category, duplicates, spam check) without writing. Use to rehearse before publishing.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / category_id / description
      Previous value: -"Category ID from list_categories. Call list_categories first to get valid values."New value: +"Category reference: id \"cat-services\", slug \"services\", or a plain word like \"jobs\" / \"real estate\". list_categories returns valid values."
  3. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the return payload shape, the 24h duplicate-title behavior (status 'already_exists' with existing offer_id), and that dry_run performs full validation without writing. These are non-obvious behaviors an agent cannot infer from readOnlyHint=false / idempotentHint=false alone.

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?

Well-structured with labeled sections (Returns, SPECIFIC ATTRIBUTES, GEO SCOPE, CONTACT METHOD) and front-loaded with the core action. Some content is duplicated between the prose and the schema (category_id flexibility, geo_scope examples), which is slightly redundant but not harmful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter tool with nested objects and no output schema, the description supplies the return shape, dedupe semantics, dry-run behavior, and the type-specific attribute schema that the input schema defers to. Nothing critical for correct invocation is missing.

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

Parameters5/5

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

Schema coverage is 100%, so the baseline would be 3, but the description carries the sole documentation for specific_attributes (the schema just says 'See tool description'), enumerating fields per offer_type. It also adds geo_scope and contact_method examples and clarifies category_id resolution, adding real meaning beyond the schema.

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?

Opening sentence states a specific verb and resource: 'Create a new offer in the AnyGett database.' It is immediately distinguishable from siblings such as update_offer, delete_offer, and get_offer_details, and it names the created artifact (offer).

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?

It gives concrete routing guidance for category_id (call list_categories, or pass a closest word and let the server map it) and explains when to use dry_run ('rehearse before publishing'). It does not explicitly say when not to use this tool (e.g., to modify an existing offer, use update_offer), so a small gap remains.

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