Skip to main content
Glama
ms-methos

jsonfabrica-mcp-server

Update a JsonFabrica generator function weight (admin)

jsonfabrica_update_function_weight

Update a function's weight to adjust how frequently it is chosen during synthetic JSON test data generation. Requires admin API key.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
weightYes
functionNameYes

Schema Changelog

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

  1. First observedv0.1.4

TDQS

A3.8/5.0
Behavior4/5

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

Without annotations, the description carries the disclosure burden, and it does disclose the HTTP method, exact endpoint, auth role requirement, and the 403 error case. It does not describe success response or side effects beyond 'update', but the admin/403 detail is meaningful and non-obvious.

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?

Two short sentences with no filler; the endpoint and auth constraint are front-loaded. Every clause earns its place.

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

Completeness3/5

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

For a two-parameter PATCH with no output schema and no annotations, the description is serviceable: it pins down the resource, method, and auth. It omits the response shape and any detail about valid weight values, and does not point to list_function_weights as a way to discover function names, so an agent is left to infer these.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must provide meaning. functionName is inferable from the path template, but the description never explains what weight represents, its allowed range, or how it affects generation. An agent cannot tell whether weight is a ratio, percentage, or arbitrary multiplier.

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 states a concrete verb and resource: it calls PATCH on /v1/admin/function-weights/{functionName}, which unambiguously conveys an update operation. It is clearly distinct from the sibling list_function_weights because the method and endpoint indicate mutation rather than listing. The title's '(admin)' is reinforced by the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives a clear prerequisite: the API key must have role=admin, and it names the failure mode (403) if not. However, it never states when to prefer this over related tools such as list_function_weights, nor does it explicitly exclude non-admin use beyond the implied auth requirement.

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

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