Skip to main content
Glama

forms_write

Write a new form. Each question is {kind, words, hint, required, choices, when}: kind is short, long, email, phone, number, date, choice (one of choices), choices (several), yesno or rating; choices only for choice and choices, at least two. when (optional) asks it only if an earlier answer calls for it: {q: an earlier question's exact words (or id), op: is, not, has (contains), over or under (numbers), value}; a hidden question is never required. The form starts Off: only the user switches it On.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "title": "<title>",
      "questions": "<questions>",
      "author": "<author>"
    },
    "name": "forms_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
doneNo
introNo
modelNo
titleYes
authorYes
questionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly=false and destructive=false, so the safety bar is lower, yet the description adds a genuinely useful trait: the form starts Off and only the user switches it On, meaning creation does not publish. It also exposes the conditional-question mechanism and the hidden-vs-required constraint, which are behavior beyond the schema.

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

Conciseness4/5

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

The core statement is front-loaded and the text is dense with no filler. The nested 'when' clause reads as a run-on with compressed punctuation, which slightly hurts scannability, but nearly every sentence carries required information.

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?

There is no output schema, and the description never says what a successful write returns (form id, URL) nor what 'done' and 'model' control — fields an agent must supply blindly. Given six parameters and three required, this leaves meaningful gaps despite strong coverage of the questions array.

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 0% across 6 parameters, so the description carries the burden. It documents the hardest parameter, 'questions', in real depth (kind vocabulary, choices rules, the {q, op, value} shape for 'when'), but says nothing about title, author, intro, done, or model — leaving roughly half the surface unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening 'Write a new form' gives a specific verb and resource, and 'new' implicitly separates creation from forms_update/forms_duplicate. It stops short of naming a sibling or stating an explicit boundary, so it is clear but not fully differentiated.

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 bulk of the text is construction rules (which kinds exist, when 'choices' applies, minimum two choices, hidden questions never required) rather than when to choose this tool over forms_update or forms_duplicate. Usage is implied by the create-a-form framing, but no alternatives or exclusions are given.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.