Skip to main content
Glama

start_negotiation

Open a new negotiation session for a product. Provide domain and product ID to receive the merchant's opening greeting and a session ID for continued negotiation.

Instructions

Open a new negotiation session for a specific product.

Looks up the start_chat URL template from the store's descriptor, substitutes the product_id, fetches the result. The merchant agent's opening greeting is in the response.

Args: domain: Site to negotiate at. product_id: Must be one of products[].id from list_products().

Returns: Dict with session_id, greeting (merchant's opener), and next URL for the next turn (with {url_encoded_message} placeholder).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYes
product_idYes
Behavior4/5

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

Annotations indicate non-read-only, non-destructive, non-idempotent, open-world. The description adds internal steps (looks up URL template, substitutes, fetches) and return structure (session_id, greeting, next URL). No contradictions.

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?

Description is well-structured with Args and Returns sections. It is informative without being verbose. Slightly long but justified by content.

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?

Given only 2 parameters and no output schema, the description covers purpose, prerequisites, internal process, and return format comprehensively. Fully meets the needs for a negotiation start tool.

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 has 0% description coverage. Description explains domain as 'Site to negotiate at' and product_id as 'Must be one of products[].id from list_products().' This adds meaning beyond the raw 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?

The description clearly states the tool's purpose: 'Open a new negotiation session for a specific product.' It specifies the verb (open/start) and the resource (negotiation session), and distinguishes it from siblings like list_products and send_message.

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 description provides a prerequisite: product_id must be one from list_products(). It implicitly tells when to use this tool (start negotiation) and gives context for domain. It lacks explicit when-not-to-use but is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sanjana-pier39/negotiate-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server