Skip to main content
Glama

get_platform_info

Retrieve platform health, status, available endpoints, and referral program details for the402.ai marketplace to understand service offerings and get started.

Instructions

Get the402.ai platform health, status, available endpoints, and referral program details. Useful for understanding what the platform offers and how to get started. No authentication required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function for get_platform_info, which fetches health and referral program details.
    async () => {
    	const [health, referralProgram] = await Promise.all([
    		client.get("/health"),
    		client.get("/v1/referrals/program"),
    	]);
    	return {
    		content: [
    			{
    				type: "text" as const,
    				text: JSON.stringify(
    					{ health, referral_program: referralProgram },
    					null,
    					2
    				),
    			},
    		],
    	};
  • Registration of the get_platform_info tool using server.tool.
    server.tool(
    	"get_platform_info",
    	"Get the402.ai platform health, status, available endpoints, and referral program details. Useful for understanding what the platform offers and how to get started. No authentication required.",
    	{},
    	async () => {
    		const [health, referralProgram] = await Promise.all([
    			client.get("/health"),
    			client.get("/v1/referrals/program"),
    		]);
    		return {
    			content: [
    				{
    					type: "text" as const,
    					text: JSON.stringify(
    						{ health, referral_program: referralProgram },
    						null,
    						2
    					),
    				},
    			],
    		};
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: 'No authentication required,' which is crucial for access. It also hints at the tool's scope (health, status, endpoints, referral details) but doesn't specify rate limits, response format, or potential side effects like caching behavior.

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: the first sentence states the core purpose, the second adds usage context, and the third provides critical behavioral info. Every sentence earns its place with no wasted words, making it efficient and easy to parse.

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 low complexity (0 parameters, no output schema, no annotations), the description is fairly complete. It covers purpose, usage, and authentication needs. However, it lacks details on output format (e.g., what data is returned for 'health' or 'endpoints') and doesn't mention potential errors or limitations, which could be helpful for an agent.

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?

The input schema has 0 parameters with 100% coverage, so the schema fully documents the lack of inputs. The description adds value by confirming this implicitly through its focus on general platform info without mentioning any parameters. Baseline is 3 for high schema coverage, but the description compensates by aligning with the parameter-free nature.

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: 'Get the402.ai platform health, status, available endpoints, and referral program details.' It specifies the verb 'Get' and the resource 'platform info' with concrete details. However, it doesn't explicitly differentiate from sibling tools like 'check_balance' or 'provider_earnings', which might also provide platform-related information.

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 it: 'Useful for understanding what the platform offers and how to get started.' It implies this is a general information tool for onboarding or status checks. However, it doesn't explicitly state when not to use it or name alternatives among siblings, such as 'check_balance' for financial status.

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