Skip to main content
Glama

inquire_service

Start conversations with service providers on the402.ai marketplace to ask questions, request custom quotes, or negotiate terms before purchasing services.

Instructions

Open a conversation thread about a service on the402.ai. Costs $0.001 from your pre-funded balance. Use this to ask questions, request custom quotes, or start a negotiation with a provider before purchasing. Requires API key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_idYesThe service ID to inquire about
briefYesYour message to the provider — describe what you need, ask questions, or request a custom quote

Implementation Reference

  • The implementation of the `inquire_service` tool handler.
    async ({ service_id, brief }) => {
    	const result = await client.balancePost(
    		`/v1/services/${service_id}/inquire`,
    		{ brief }
    	);
    	return {
    		content: [
    			{ type: "text" as const, text: JSON.stringify(result, null, 2) },
    		],
    	};
    }
  • Registration of the `inquire_service` tool within the McpServer.
    server.tool(
    	"inquire_service",
    	"Open a conversation thread about a service on the402.ai. Costs $0.001 from your pre-funded balance. Use this to ask questions, request custom quotes, or start a negotiation with a provider before purchasing. Requires API key.",
    	{
    		service_id: z.string().describe("The service ID to inquire about"),
    		brief: z
    			.string()
    			.describe(
    				"Your message to the provider — describe what you need, ask questions, or request a custom quote"
    			),
    	},
    	async ({ service_id, brief }) => {
    		const result = await client.balancePost(
    			`/v1/services/${service_id}/inquire`,
    			{ brief }
    		);
    		return {
    			content: [
    				{ type: "text" as const, text: JSON.stringify(result, null, 2) },
    			],
    		};
    	}
    );
  • Input schema validation using zod for `inquire_service`.
    {
    	service_id: z.string().describe("The service ID to inquire about"),
    	brief: z
    		.string()
    		.describe(
    			"Your message to the provider — describe what you need, ask questions, or request a custom quote"
    		),
    },
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context: it mentions a cost ('Costs $0.001 from your pre-funded balance') and a prerequisite ('Requires API key'), which are not covered by annotations. However, it lacks details on response format, error handling, or other operational traits.

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

Conciseness5/5

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

The description is appropriately sized and front-loaded, with three concise sentences that each earn their place: stating the purpose, cost, usage context, and prerequisites without redundancy or fluff.

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?

Given the tool's complexity (a transactional tool with cost and prerequisites), no annotations, and no output schema, the description is fairly complete. It covers purpose, usage, cost, and prerequisites, but could benefit from mentioning response expectations or error cases to be fully comprehensive.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents both parameters fully. The description does not add any meaning beyond what the schema provides for 'service_id' or 'brief', such as examples or constraints. Baseline 3 is appropriate when the schema does the heavy lifting.

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

Purpose4/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 conversation thread about a service on the402.ai.' It specifies the action (open a conversation thread) and resource (service), but does not explicitly differentiate it from sibling tools like 'send_message' or 'get_thread' in terms of scope or intent.

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 clear context for when to use this tool: 'to ask questions, request custom quotes, or start a negotiation with a provider before purchasing.' It implies usage for pre-purchase inquiries, but does not explicitly state when not to use it or name alternatives among sibling tools.

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/the402ai/mcp-server'

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