Skip to main content
Glama
Stener1

reai-mcp

by Stener1

Call any ReAI API endpoint

reai_request
Destructive

Call any ReAI API endpoint directly to cover operations missing from curated tools. Authentication and tenant headers are managed automatically.

Instructions

Escape hatch: call any ReAI API endpoint directly. Use it for anything the curated tools do not cover. Discover the endpoint with reai_search_endpoints and check its schema with reai_describe_endpoint first.

Authentication and the tenant header are handled for you. Write calls are subject to the server's write policy, and unrecognised write paths are treated as irreversible and blocked unless REAI_WRITE_MODE=full.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyNoJSON request body, for POST, PUT and PATCH.
pathYesConcrete API path with path parameters already substituted, e.g. "/api/customers/1234" (not "/api/customers/{id}"). Must start with "/".
queryNoQuery-string parameters.
binaryNoSet for endpoints returning a file (PDF, attachment content). Returns base64 plus content type instead of attempting to parse JSON.
methodYesHTTP method.
tenantIdNoReAI tenant (company) id. Omit to use the active tenant — set one with reai_use_tenant, or list what this token can reach with reai_whoami.
Behavior5/5

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

Even though annotations already indicate destructiveHint=true and openWorldHint=true, the description adds critical behavioral details: authentication and tenant header are handled automatically, write calls are subject to server write policy, and unrecognized write paths are treated as irreversible and blocked unless REAI_WRITE_MODE=full. This goes beyond the annotations to warn the agent about safety and policy enforcement.

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 concise, front-loaded, and every sentence earns its place. It covers purpose, usage workflow, and safety policy without unnecessary filler. The structure flows logically from 'what' to 'how' to 'warnings'.

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?

For a high-risk escape-hatch tool with no output schema, the description provides complete guidance: how to use it, how to discover endpoints, how to check schemas, how authentication works, and what safety restrictions apply. It is fully contextualized within the sibling toolset and self-sufficient for an agent to use it correctly.

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 100%, so the input schema already documents all parameters and their meanings. The description adds no additional parameter-specific semantics beyond clarifying that authentication/tenant header are handled, which helps with tenantId but is a minor addition. Baseline 3 is appropriate.

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 opens with 'Escape hatch: call any ReAI API endpoint directly,' which clearly states the verb (call), resource (any ReAI API endpoint), and scope. It distinguishes itself from curated tools by noting it covers what they do not, and provides a clear path to discovery via reai_search_endpoints and reai_describe_endpoint.

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?

It explicitly says to use it for anything the curated tools do not cover, and advises discovering endpoints and checking schemas first. This gives clear when-to-use guidance and names alternative tools (reai_search_endpoints, reai_describe_endpoint) as prerequisites, effectively explaining a safe workflow.

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/Stener1/reai-mcp'

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