Skip to main content
Glama
ms-methos

jsonfabrica-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JSONFABRICA_API_KEYYesYour JsonFabrica API key. Required for all API calls; if missing, the server still starts but tool calls fail.
JSONFABRICA_API_URLNoBase URL of the JsonFabrica gateway. Defaults to https://api.jsonfabrica.comhttps://api.jsonfabrica.com

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
jsonfabrica_healthA

Calls GET /health on the JsonFabrica gateway. No authentication required. Use this to verify JSONFABRICA_API_URL points at a reachable gateway.

jsonfabrica_whoamiA

Calls GET /v1/whoami on the JsonFabrica gateway using the configured API key. Returns { tenantId, role } for the configured JSONFABRICA_API_KEY.

jsonfabrica_create_templateA

Calls POST /v1/templates. Creates a reusable template. body uses JsonFabrica's function-call placeholder syntax, e.g. "Hello {{getRandomFullName()}}" or "<getRandomNumber(1,100)>" — see the data-generation-functions reference for the full catalog. If generate is provided, a document is generated from the newly-created template in the same call (response includes generation or generationError alongside template); if omitted, the response is just the created template.

jsonfabrica_list_templatesA

Calls GET /v1/templates. Returns a page of templates ({ items, nextCursor }).

jsonfabrica_get_templateA

Calls GET /v1/templates/{templateId}. Returns the full template record.

jsonfabrica_update_templateC

Calls PUT /v1/templates/{templateId}. Only the provided fields are changed.

jsonfabrica_delete_templateA

Calls DELETE /v1/templates/{templateId}. Returns the removed template record.

jsonfabrica_generate_from_templateB

Calls POST /v1/templates/{templateId}/generate. Generates a document using a persisted template. Set sequenceNamespace/variableNamespace to isolate sequence/variable side effects between environments.

jsonfabrica_generate_adhocA

Calls POST /v1/templates/generate. Generates a document directly from a raw body string without creating a template record — useful for quickly iterating on template syntax. Goes through the same billing/usage metering as persisted-template generation (not a free bypass). createSeq()/durable sequence side effects still apply; set sequenceNamespace/ variableNamespace to e.g. "debug" to avoid colliding with real tenant sequences.

jsonfabrica_create_sequenceA

Calls POST /v1/sequences. Creates a durable named sequence (number/string/uuid), referenced from template bodies via createSeq()/getSeq()-style functions.

jsonfabrica_list_sequencesA

Calls GET /v1/sequences. Returns a page of sequences ({ items, nextCursor }).

jsonfabrica_get_sequenceA

Calls GET /v1/sequences/{name}. Returns the sequence record.

jsonfabrica_update_sequenceA

Calls PATCH /v1/sequences/{name}. Only the provided fields (currentValue, step) are changed.

jsonfabrica_delete_sequenceA

Calls DELETE /v1/sequences/{name}. Returns no content on success.

jsonfabrica_bump_sequenceA

Calls POST /v1/sequences/{name}/bump. Advances the sequence by its step and returns the updated record.

jsonfabrica_create_batchA

Calls POST /v1/batches. Generates multiple documents from one or more templates in one call, optionally cross-referencing documents via relations. Small batches run synchronously and the response is 200 with results; larger batches are queued and the response is 202 with just { batchId, status, seed } — poll jsonfabrica_get_batch for the final results in that case.

jsonfabrica_get_batchA

Calls GET /v1/batches/{batchId}. Returns batch status and, once complete, the generated documents. Use this to poll a batch that was accepted asynchronously (202).

jsonfabrica_get_usageA

Calls GET /v1/usage. Returns { tenantId, usageTotal, asOf } for the configured API key.

jsonfabrica_list_function_weightsA

Calls GET /v1/admin/function-weights. Requires the configured API key to have role=admin — the gateway returns 403 otherwise.

jsonfabrica_update_function_weightA

Calls PATCH /v1/admin/function-weights/{functionName}. Requires the configured API key to have role=admin — the gateway returns 403 otherwise.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/ms-methos/jsonfabrica-mcp-server'

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