Skip to main content
Glama
factql-mcp

factql-mcp

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FACTQL_API_KEYYesYour FactQL API key (an ask-only key is enough)
FACTQL_BASE_URLNoFactQL API base URLhttps://api.factql.ai
FACTQL_END_USER_IDNoEnd user identifiermcp:<os user>
FACTQL_WORKSPACE_IDNoWorkspace ID; defaults to the default workspace for tenants that use workspaces

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Ask plain-English questions about the connected business data. Call whoami first when the tenant may use workspaces, then pass the workspace_id to ask. Each ask is stateless: restate the subject in follow-up questions.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
whoamiA

What this API key can see: tenant, plan, and the workspaces it may query.

Use it to find a workspace_id before calling ask on a tenant that uses workspaces.

askA

Ask a plain-English question about the connected data.

Returns the answer, the SQL that was run (when any), and up to 50 rows. workspace_id scopes the question when the tenant uses workspaces (see whoami); locale is "en-GB" or "en-US" for the answer's wording. A needs_clarification result means the question was too vague: ask the user, then call again with the detail.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 2 tools

Disambiguation5/5

The two tools are clearly distinct: `whoami` retrieves tenant/plan/workspace context, while `ask` runs a natural-language query. The description of `ask` even points to `whoami` for discovering workspace_id, reinforcing the division of labor.

Naming Consistency4/5

Both names are single lowercase words in a consistent informal, command-style convention (whoami, ask), with no mixing of snake_case/camelCase. There is no verb_noun pattern, but across only two tools the style is predictable and readable.

Tool Count3/5

Two tools is on the thin side, though the server's narrow purpose (context discovery + one NL query entry point) means each tool does earn its place. It sits at the borderline rather than being over- or under-scoped badly.

Completeness3/5

The surface covers identity and querying but has no schema/table introspection helper and no pagination or continuation mechanism beyond the fixed 50-row cap. Agents can often work around these limits via `whoami` and re-asking, but they are notable gaps for a data-query server.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues