Skip to main content
Glama
justserpapi

justserpapi-mcp

Official
by justserpapi

call_endpoint

Call a JustSerpAPI endpoint by ID with validated parameters to retrieve search results from Google, Maps, or Trends.

Instructions

Validate params and call a JustSerpAPI endpoint by endpoint_id. Params should use snake_case names from get_endpoint_schema.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endpoint_idYes
paramsNo
max_itemsNo
idempotency_keyNoOptional Idempotency-Key. A random key is generated when omitted.
Behavior2/5

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

No annotations are provided, so the description must bear the full burden. It mentions 'Validate params' but does not disclose error behavior, output format, side effects, permissions, or rate limits. The idempotency_key parameter hints at idempotency but is not explained.

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?

Two sentences, first states purpose, second adds a key usage instruction. No fluff, efficient, and front-loaded with the primary action.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations, 4 parameters, and no output schema, the description is lacking. It omits error handling, return structure, whether the tool is destructive, and authentication requirements. The toolexecutes an external API call and should disclose more behavioral context.

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 only 25% (idempotency_key has a description). The description adds value for the 'params' parameter by specifying naming convention from get_endpoint_schema, but does not elaborate on endpoint_id, max_items, or idempotency_key beyond 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 'Validate params and call a JustSerpAPI endpoint by endpoint_id', specifying the verb (validate and call) and the resource (JustSerpAPI endpoint). This distinguishes it from siblings like get_endpoint_schema (retrieving schema) and search_endpoints (searching).

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

Usage Guidelines3/5

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

The description implies usage context by stating 'Params should use snake_case names from get_endpoint_schema', suggesting a prerequisite but does not explicitly state when to use the tool versus alternatives or provide exclusion criteria.

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/justserpapi/justserpapi-mcp'

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