Skip to main content
Glama

call_provider_api

Makes authenticated HTTP requests to provider APIs using stored client credentials. Specify provider, path, method, and optional query/body to execute calls.

Instructions

One HTTP call to a provider's own API, with one client's credential.

The way down a layer when a provider's MCP server does not publish what you need. Vercel's publishes no environment-variable write and no way to attach a domain to a project, so those are reachable through no tool at any layer; this is how they become reachable.

path is a path, not a URL, and that is enforced rather than assumed: an absolute URL would send this client's credential to whatever host it named. The provider's host is asserted before anything is sent.

Every call is recorded as a mutation whatever the method, because an HTTP verb is a convention and not an annotation, and this will not claim a read on the strength of one. The response body is deliberately not logged: a raw environment endpoint returns secret values.

Works for cloudflare, vercel and resend, the three whose REST base URL and header shape Munim knows. It is not a universal escape hatch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body, as an object.
pathYesA path beginning with one slash, for example /v9/projects. Never a full URL: an absolute URL is refused before the request is built, because it would send this client's credential to another host.
queryNoQuery string parameters, as an object.
clientYesThe client to act on, by the name you registered them under. A write resolves this one client's credentials and no other.
methodNoGET, POST, PATCH, PUT or DELETE. Every call is recorded as a mutation whatever the method, because an HTTP verb is a convention rather than a guarantee.GET
providerYescloudflare, vercel or resend. Only these three have a known REST base URL and header shape.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed6 schema fields changedv0.5.0
    • addedInput schema / properties / body / description
      Added value: +"JSON request body, as an object."
    • addedInput schema / properties / client / description
      Added value: +"The client to act on, by the name you registered them under. A write resolves this one client's credentials and no other."
    • addedInput schema / properties / method / description
      Added value: +"GET, POST, PATCH, PUT or DELETE. Every call is recorded as a mutation whatever the method, because an HTTP verb is a convention rather than a guarantee."
    • addedInput schema / properties / path / description
      Added value: +"A path beginning with one slash, for example /v9/projects. Never a full URL: an absolute URL is refused before the request is built, because it would send this client's credential to another host."
    • addedInput schema / properties / provider / description
      Added value: +"cloudflare, vercel or resend. Only these three have a known REST base URL and header shape."
    • addedInput schema / properties / query / description
      Added value: +"Query string parameters, as an object."
  2. First observedv0.4.0

TDQS

A4.4/5.0
Behavior5/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 disclosing behavior. It thoroughly explains that absolute URLs are refused to avoid sending credentials to another host, that the provider's host is asserted before any request, that every call is logged as a mutation regardless of HTTP method, and that response bodies are deliberately not logged.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is informative but somewhat verbose and stylistic, with repeated emphasis on security and credential protection. It could be tightened without losing meaning, especially since some points appear in both the description and the schema.

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 absence of an output schema, the description sufficiently explains the tool's security model, supported providers, mutation logging, and response-body handling. It does not explicitly describe return formats or error behavior, but for a raw HTTP-call tool the provided context is largely complete.

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 schema already provides descriptions for all parameters, and the tool description reinforces key constraints such as path being relative, provider being limited to three known services, and method always being treated as a mutation. It adds meaningful context about credential safety and logging, though it does not introduce major new parameter-level details beyond the 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 that the tool makes one HTTP call to a provider's own API using one client's credential. It also distinguishes its role as a fallback when a provider's MCP server does not publish the needed operation, giving concrete examples like Vercel environment-variable writes and domain attachment.

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 gives explicit when-to-use guidance: when a provider's MCP server lacks a needed capability. It also warns that the tool is not a universal escape hatch and that every call is recorded as a mutation, which helps set usage expectations. It does not name alternative sibling tools, but the provided scenario is clear enough.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

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/vishalsg42/munim'

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