Skip to main content
Glama

Grant Forms survey access

forms_access_grant
Idempotent

Let a user or a group perform an action on a form; returns every permission.

Instructions

Let a user or a group perform an action on a form; returns every permission.

Granting someone who already has the action changes nothing.

Grants access: a client that honours the mark asks a person on every call.

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": {
      "survey_id": "<survey_id>",
      "body": "<body>"
    },
    "name": "forms_access_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesThe action and the user or group to add.
dry_runNoSend nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).
survey_idYesForm id (24-char hex), from ``surveys_list``.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.142.2
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "default": false,
      +  "description": "Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none).",
      +  "type": "boolean"
      +}
  2. First observedv0.67.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the 'granting someone who already has the action changes nothing' sentence largely restates structured data. The genuinely additive parts are that the call returns the full permission set (no output schema exists) and the openWorldHint context, but the final sentence about 'a client that honours the mark asks a person on every call' is opaque and leaves the agent unsure whether some human-confirmation step is involved.

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

Conciseness3/5

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

The purpose is front-loaded in one tight sentence, which is good. However the third sentence is confusing to the point of being noise and arguably costs more than it earns, dragging down an otherwise compact definition.

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 mutation tool with no output schema, the description does well to say the response contains every permission, and idempotency is covered. It omits any prerequisite about the caller's own rights to grant access and never resolves the ambiguous closing sentence, which is a real gap for an openWorldHint write operation.

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% and the nested body documents user, group, action, dry_run, and survey_id individually, so the description only needs to add meaning. It confirms that a user or group plus an action is the payload, but it does not clarify whether user and group are mutually exclusive or whether both may be supplied.

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 first clause gives a concrete verb (grant) and resource (access to a form by user or group) and states what is returned ('every permission'). It does not explicitly contrast itself with the nearby forms_access_update / forms_access_revoke siblings, so the boundary between 'grant' and 'update' still requires inference.

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

Usage Guidelines2/5

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

There is no statement of when to call this versus forms_access_update or forms_access_list. The only quasi-guidance is the note that re-granting is a no-op, which tells the agent that redundant calls are harmless but not when this tool is the correct choice.

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

Deploy Server

Other Tools