Skip to main content
Glama

get_api_endpoint_schema

Retrieve the schema for an API endpoint in Hive Intelligence to structure and validate API calls using the call_api_endpoint tool.

Instructions

Get the schema for an endpoint in the HIVE API. You can use the schema returned by this tool to call an endpoint with the call_api_endpoint tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpointYesThe name of the endpoint to get the schema for.
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 describes the tool's function (retrieving schemas) and its relationship to another tool (call_api_endpoint), which adds useful context. However, it doesn't mention potential behavioral traits like error conditions (e.g., what happens if the endpoint doesn't exist), rate limits, authentication requirements, or the format/structure of the returned schema. For a tool with zero annotation coverage, this leaves gaps in understanding its operational 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 two sentences that are front-loaded with the core purpose and immediately followed by practical usage guidance. Every word earns its place—there's no redundancy, fluff, or unnecessary elaboration. It efficiently communicates both what the tool does and how it fits into the larger workflow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 (1 parameter, no nested objects, no output schema) and the absence of annotations, the description is moderately complete. It covers the purpose and usage context well, but lacks details on behavioral aspects (e.g., error handling, schema format) and doesn't clarify differentiation from sibling tools. For a simple read operation, this is adequate but not fully comprehensive, especially without annotations to fill in gaps.

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?

The input schema has 100% description coverage, with the single parameter 'endpoint' clearly documented as 'The name of the endpoint to get the schema for.' The description doesn't add any additional semantic information about this parameter beyond what the schema provides (e.g., examples of endpoint names, format constraints). According to the rules, when schema_description_coverage is high (>80%), the baseline score is 3 even with no param info in the description, which applies here.

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 verb ('Get') and resource ('schema for an endpoint in the HIVE API'), making the purpose specific and understandable. However, it doesn't explicitly differentiate this tool from its many siblings (like get_defi_protocol_endpoints, get_token_contract_endpoints, etc.), which all seem to retrieve endpoint-related schemas but for different categories. A perfect score would require clarifying how this general endpoint schema tool differs from those category-specific ones.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides explicit guidance on when to use this tool: 'You can use the schema returned by this tool to call an endpoint with the `call_api_endpoint` tool.' This directly states the tool's purpose in the workflow and names the alternative/complementary tool (call_api_endpoint), giving clear context for usage without any misleading information.

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/hive-intel/hive-sdk'

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