Skip to main content
Glama

get_service

Retrieve detailed information for any service on the402.ai marketplace by its ID, including pricing, required inputs, deliverables, estimated delivery time, provider details, and reputation scores.

Instructions

Get full details for a specific service on the402.ai by its ID. Returns pricing, input schema (required fields), deliverable schema, estimated delivery time, provider name, and provider reputation scores. No authentication required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_idYesThe service ID to look up

Implementation Reference

  • Registration and implementation of the 'get_service' tool.
    server.tool(
    	"get_service",
    	"Get full details for a specific service on the402.ai by its ID. Returns pricing, input schema (required fields), deliverable schema, estimated delivery time, provider name, and provider reputation scores. No authentication required.",
    	{
    		service_id: z.string().describe("The service ID to look up"),
    	},
    	async ({ service_id }) => {
    		const result = await client.get(`/v1/services/${service_id}`);
    		return {
    			content: [
    				{ type: "text" as const, text: JSON.stringify(result, null, 2) },
    			],
    		};
    	}
    );

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