Skip to main content
Glama
Sugra-Systems

sugra-api-mcp

Official

call_endpoint

Read-onlyIdempotent

Call any Sugra API endpoint by operation ID from the bundled catalog to retrieve financial market prices, macroeconomic indicators, or news.

Instructions

Call a Sugra API endpoint by operation_id from the bundled catalog.

Plan calls with describe_endpoint's agent_hints: duration_class "fast" usually responds in under ~2s, "slow" usually 1-5s and occasionally 15s+ on a cold upstream, "heavy" can exceed the gateway timeout - keep parallel calls within max_concurrency and prefer small batches. Bulk endpoints bill 1 request credit per body item. Failures return structured errors {error, reason, status_code, elapsed_ms, retry_hint}; after "upstream_timeout" a single retry often succeeds because the aborted attempt warms upstream caches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body for a POST operation, matching the request_body_schema returned by describe_endpoint(operation_id): a JSON object for most operations, or a JSON array when that schema's top-level type is array. Omit for GET operations.
limitNo
fieldsNo
paramsNoQuery and path parameters for this operation_id. Keys and types are operation-specific - call describe_endpoint(operation_id) first to get the exact parameter names, types, and examples. Omit if the operation takes none.
include_rawNo
operation_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Annotations already indicate readOnly, idempotent, non-destructive. Description adds significant context: duration classes, bulk billing (1 credit per body item), structured error responses with retry hints, and that a single retry after upstream timeout often succeeds due to cache warming. No annotation contradiction.

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?

Single paragraph but well-structured: starts with main action, then plan, duration classes, billing, errors. Every sentence provides value, no fluff. Front-loaded with essential information.

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

Completeness5/5

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

Given 6 parameters and dynamic endpoint behavior (openWorldHint), the description covers planning (describe_endpoint), performance expectations (duration classes), billing, and error handling. Output schema exists to document return values. All necessary context is present for an agent to use the tool correctly.

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?

Schema has 33% coverage with only body and params having descriptions. Description adds meaning by explaining how to use params dynamically (via describe_endpoint), and clarifies body format. However, limit and fields parameters lack any description in schema or description, relying on the dynamic nature (openWorldHint). Still, the description directs the agent to describe_endpoint for exact parameters, compensating.

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 it calls a Sugra API endpoint by operation_id, distinguishing it from the sibling tool 'search_endpoints' which likely searches for endpoints. The verb 'call' and resource 'Sugra API endpoint' are specific.

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?

Provides detailed guidance: plan with describe_endpoint's agent_hints, discusses duration classes (fast, slow, heavy) and their implications, bulk billing, and error handling with retry advice. This helps an agent decide when and how to use the tool effectively.

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/Sugra-Systems/sugra-api-mcp'

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