Skip to main content
Glama

Agentic Dealer Network

Request a quote

deal_quote
DestructiveIdempotent

Out-the-door quote for one available unit at a named rooftop. Anonymous calls are stateless; authenticated calls persist a deal thread. Anonymous calls persist nothing; quote_preview is the read-only equivalent for browsing. Fee schedules may be incomplete — an unlisted fee is not a guarantee that no such fee applies; confirm final charges with the dealer. Totals are estimates at best; when pricing_coverage is "partial_estimate", present the total as a subtotal excluding the charges in excluded. Always relay pricing_disclosure.

Input Schema

NameRequiredDescriptionDefault
identityYes
rooftop_slugYes
idempotency_keyNoRequired when authenticated (durable quote); ignored meaningfully only with an agent key.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNoUnknown and foreign thread ids are deliberately indistinguishable: both return invalid_params with message "unknown thread_id" (anti-enumeration).
freshnessNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "assumptions": {
      +          "items": {
      +            "maxLength": 500,
      +            "type": "string"
      +          },
      +          "maxItems": 50,
      +          "type": "array"
      +        },
      +        "durable": {
      +          "type": "boolean"
      +        },
      +        "expires_at": {
      +          "format": "date-time",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "freshness_disclosure": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "by_rooftop": {
      +              "additionalProperties": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "last_ingest_at": {
      +                    "format": "date-time",
      +                    "maxLength": 40,
      +                    "type": [
      +                      "string",
      +                      "null"
      +                    ]
      +                  },
      +                  "status": {
      +                    "enum": [
      +                      "fresh",
      +                      "stale",
      +                      "no_data"
      +                    ]
      +                  }
      +                },
      +                "required": [
      +                  "status",
      +                  "last_ingest_at"
      +                ],
      +                "type": "object"
      +              },
      +              "maxProperties": 500,
      +              "type": "object"
      +            },
      +            "generated_at": {
      +              "format": "date-time",
      +              "type": "string"
      +            },
      +            "inventory_last_seen_at": {
      +              "format": "date-time",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "required": [
      +            "generated_at",
      +            "inventory_last_seen_at",
      +            "by_rooftop"
      +          ],
      +          "type": "object"
      +        },
      +        "pricing": {
      +          "additionalProperties": false,
      +          "dependentRequired": {
      +            "excluded": [
      +              "pricing_coverage",
      +              "pricing_disclosure"
      +            ],
      +            "pricing_coverage": [
      +              "excluded",
      +              "pricing_disclosure"
      +            ],
      +            "pricing_disclosure": [
      +              "pricing_coverage",
      +              "excluded"
      +            ]
      +          },
      +          "properties": {
      +            "base_price": {
      +              "description": "Exact decimal amount with two places (never a JSON float).",
      +              "pattern": "^-?[0-9]+\\.[0-9]{2}$",
      +              "type": "string"
      +            },
      +            "currency": {
      +              "const": "USD"
      +            },
      +            "excluded": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "code": {
      +                    "enum": [
      +                      "sales_tax",
      +                      "title",
      +                      "registration"
      +                    ]
      +                  },
      +                  "label": {
      +                    "maxLength": 40,
      +                    "type": "string"
      +                  },
      +                  "reason": {
      +                    "const": "varies_by_location"
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "label",
      +                  "reason"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 3,
      +              "type": "array"
      +            },
      +            "fees_total": {
      +              "description": "Exact decimal amount with two places (never a JSON float).",
      +              "pattern": "^-?[0-9]+\\.[0-9]{2}$",
      +              "type": "string"
      +            },
      +            "line_items": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "amount": {
      +                    "description": "Exact decimal amount with two places (never a JSON float).",
      +                    "pattern": "^-?[0-9]+\\.[0-9]{2}$",
      +                    "type": "string"
      +                  },
      +                  "basis": {
      +                    "enum": [
      +                      "firm",
      +                      "estimated"
      +                    ]
      +                  },
      +                  "category": {
      +                    "maxLength": 40,
      +                    "type": "string"
      +                  },
      +                  "code": {
      +                    "maxLength": 80,
      +                    "type": "string"
      +                  },
      +                  "fee_type": {
      +                    "enum": [
      +                      "flat",
      +                      "percent"
      +                    ]
      +                  },
      +                  "included_in_price": {
      +                    "type": "boolean"
      +                  },
      +                  "label": {
      +                    "maxLength": 200,
      +                    "type": "string"
      +                  },
      +                  "taxable": {
      +                    "type": "boolean"
      +                  }
      +                },
      +                "required": [
      +                  "code",
      +                  "label",
      +                  "category",
      +                  "fee_type",
      +                  "amount",
      +                  "taxable"
      +                ],
      +                "type": "object"
      +              },
      +              "maxItems": 100,
      +              "type": "array"
      +            },
      +            "otd_total": {
      +              "description": "Exact decimal amount with two places (never a JSON float).",
      +              "pattern": "^-?[0-9]+\\.[0-9]{2}$",
      +              "type": "string"
      +            },
      +            "pricing_coverage": {
      +              "enum": [
      +                "otd_estimate",
      +                "partial_estimate"
      +              ]
      +            },
      +            "pricing_disclosure": {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            "tax_total": {
      +              "description": "Exact decimal amount with two places (never a JSON float).",
      +              "pattern": "^-?[0-9]+\\.[0-9]{2}$",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "base_price",
      +            "fees_total",
      +            "tax_total",
      +            "otd_total",
      +            "currency",
      +            "line_items"
      +          ],
      +          "type": "object"
      +        },
      +        "quote_id": {
      +          "oneOf": [
      +            {
      +              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "thread_id": {
      +          "oneOf": [
      +            {
      +              "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "unit": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "condition": {
      +              "enum": [
      +                "new",
      +                "used"
      +              ]
      +            },
      +            "identity": {
      +              "maxLength": 30,
      +              "minLength": 5,
      +              "type": "string"
      +            },
      +            "make": {
      +              "maxLength": 80,
      +              "type": "string"
      +            },
      +            "model": {
      +              "maxLength": 80,
      +              "type": "string"
      +            },
      +            "model_year": {
      +              "maximum": 2100,
      +              "minimum": 1950,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "identity",
      +            "condition",
      +            "model_year",
      +            "make",
      +            "model"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "durable",
      +        "thread_id",
      +        "quote_id",
      +        "expires_at",
      +        "unit",
      +        "pricing",
      +        "assumptions",
      +        "freshness_disclosure"
      +      ],
      +      "type": "object"
      +    },
      +    "error": {
      +      "additionalProperties": false,
      +      "description": "Unknown and foreign thread ids are deliberately indistinguishable: both return invalid_params with message \"unknown thread_id\" (anti-enumeration).",
      +      "properties": {
      +        "auth_help_url": {
      +          "description": "Present only when no credential was supplied for a capability that requires one. Points to human documentation for obtaining a key. Absent for invalid, pending, or disabled credentials, which are deliberately indistinguishable.",
      +          "format": "uri",
      +          "maxLength": 500,
      +          "type": "string"
      +        },
      +        "code": {
      +          "enum": [
      +            "rooftop_not_found",
      +            "rooftop_inactive",
      +            "unit_not_found",
      +            "invalid_params",
      +            "rate_limited",
      +            "upstream_unavailable",
      +            "capability_unavailable",
      +            "identity_required",
      +            "quota_exceeded",
      +            "unit_held",
      +            "quote_expired",
      +            "rooftop_paused",
      +            "handoff_duplicate",
      +            "idempotency_conflict",
      +            "price_unavailable",
      +            "snapshot_expired",
      +            "artifact_too_large",
      +            "cursor_invalid",
      +            "cursor_expired",
      +            "ambiguous_identity",
      +            "unsupported_in_country"
      +          ]
      +        },
      +        "message": {
      +          "maxLength": 500,
      +          "type": "string"
      +        },
      +        "retry_after_seconds": {
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "retryable": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "code",
      +        "message",
      +        "retryable"
      +      ],
      +      "type": "object"
      +    },
      +    "freshness": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "by_rooftop": {
      +          "additionalProperties": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "last_ingest_at": {
      +                "format": "date-time",
      +                "maxLength": 40,
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "status": {
      +                "enum": [
      +                  "fresh",
      +                  "stale",
      +                  "no_data"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "status",
      +              "last_ingest_at"
      +            ],
      +            "type": "object"
      +          },
      +          "maxProperties": 500,
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "by_rooftop"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only flag destructive/idempotent/openWorld; the description adds substantive behavior the agent needs: stateless anonymous calls vs persisted deal threads, incomplete fee schedules with a warning not to treat omission as absence, the pricing_coverage='partial_estimate' presentation rule, and the mandatory pricing_disclosure relay. This is well beyond the annotation surface.

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?

Purpose is front-loaded and the fee/pricing caveats are valuable, but the description wastes a sentence on redundancy: 'Anonymous calls are stateless... Anonymous calls persist nothing' repeats the same idea twice. Overall dense but not tight.

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?

An output schema exists, so return-value explanation is correctly omitted, and the caveats around fees, totals, and disclosure are thorough. The main gap is that the required parameters remain unexplained, which is a meaningful omission for a tool with low schema coverage.

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?

Schema coverage is only 33%, yet the description never explains the required 'identity' or 'rooftop_slug' parameters — what an identity token is or what rooftop_slug should reference. Only the authenticated-vs-anonymous framing loosely touches identity, leaving the two required params largely undocumented in both schema and description.

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 and resource ('out-the-door quote for one available unit at a named rooftop') and explicitly distinguishes itself from the sibling quote_preview ('the read-only equivalent for browsing'). An agent can tell it apart from other quote/inventory tools without opening the schema.

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?

Clearly explains the anonymous vs authenticated usage split and names quote_preview as the alternative for read-only browsing. It does not give an explicit 'use this when...' exclusion list, but the context needed to choose is present.

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