Skip to main content
Glama

Publish Direct Offer

publish_direct_offer
Idempotent

Execute the canonical Direct Session publish_direct_offer operation. Requires an Authorization: Bearer header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelsYesCanonical models argument for the publish_direct_offer Direct Session operation.
operationsYesCanonical operations argument for the publish_direct_offer Direct Session operation.
access_modeYesCanonical access mode argument for the publish_direct_offer Direct Session operation.
endpoint_urlYesCanonical endpoint url argument for the publish_direct_offer Direct Session operation.
context_windowYesCanonical context window argument for the publish_direct_offer Direct Session operation.
idempotency_keyYesRequired mutation idempotency key, shared across REST, MCP, and A2A.
retention_secondsYesCanonical retention seconds argument for the publish_direct_offer Direct Session operation.
request_price_cptmYesCanonical request price cptm argument for the publish_direct_offer Direct Session operation.
supersedes_offer_idNoCanonical supersedes offer id argument for the publish_direct_offer Direct Session operation.
declared_concurrencyYesCanonical declared concurrency argument for the publish_direct_offer Direct Session operation.
allowlisted_parent_idsNoCanonical allowlisted parent ids argument for the publish_direct_offer Direct Session operation.
max_session_duration_secondsYesCanonical max session duration seconds argument for the publish_direct_offer Direct Session operation.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesTrue when the upstream exchange call succeeded (HTTP status < 400).
dataYesCanonical publish_direct_offer result. Null when ok is false.
errorYesIn-band error code or message when ok is false; null on success.
statusYesUpstream HTTP status code returned by the Conductor Relay API.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed11 schema fields changed
    • addedInput schema / properties / access_mode / description
      Added value: +"Canonical access mode argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / allowlisted_parent_ids / description
      Added value: +"Canonical allowlisted parent ids argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / context_window / description
      Added value: +"Canonical context window argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / declared_concurrency / description
      Added value: +"Canonical declared concurrency argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / endpoint_url / description
      Added value: +"Canonical endpoint url argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / max_session_duration_seconds / description
      Added value: +"Canonical max session duration seconds argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / models / description
      Added value: +"Canonical models argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / operations / description
      Added value: +"Canonical operations argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / request_price_cptm / description
      Added value: +"Canonical request price cptm argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / retention_seconds / description
      Added value: +"Canonical retention seconds argument for the publish_direct_offer Direct Session operation."
    • addedInput schema / properties / supersedes_offer_id / description
      Added value: +"Canonical supersedes offer id argument for the publish_direct_offer Direct Session operation."
  2. Added

TDQS

C2/5.0
Behavior2/5

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

The description adds only an auth requirement. Annotations already indicate non-read-only and idempotent behavior. The description does not disclose side effects (e.g., whether this supersedes existing offers, how visibility/access is affected) or any return semantics.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is short, but the first clause is redundant filler ('Execute the canonical ... operation'). The auth note is the only concrete piece of information. It is not well-structured to convey purpose quickly.

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

Completeness1/5

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

For a mutation with 10 required parameters, this description is severely under-specified. It lacks any explanation of what the offer is used for, how parameters interrelate, or what the response contains. The tool cannot be safely invoked based on this description alone.

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

Parameters2/5

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

Although schema coverage is 100%, every parameter description is simply 'Canonical X argument for the publish_direct_offer Direct Session operation' — a tautology. The description itself does not define key concepts like access_mode valid values or request_price_cptm format. Twelve parameters remain conceptually opaque.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description restates the tool name ('publish_direct_offer operation') without explaining what actually happens when an offer is published. The verb 'execute' is generic and provides no domain content. It distinguishes nothing from sibling tools like verify_direct_offer or set_direct_offer_status.

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?

No guidance is given about when to use this tool instead of alternatives. The only added note is the Authorization header requirement, but there is no mention of prerequisites, lifecycle position, or relationships to other direct-session operations.

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.