Skip to main content
Glama

Set when a client can revise a form

set_form_assignment_editable_until
DestructiveIdempotent

Set the last day (YYYY-MM-DD, in the gig's time zone) on which the client can revise the answers to a form assignment. The day only bounds revisions: the client's first answer is always accepted. The day applies even when it falls after the gig. From the next day the client sees a locked response and the stored answers do not change. Pass null to follow the gig: the answers stay revisable until the gig is over, or at any time when the assignment has no gig. Staff can always edit. Requires crm.manage and the crm flag. Runs on the first call; there is no confirmation step.

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": {
      "assignment_id": "<assignment_id>",
      "editable_until": "<editable_until>"
    },
    "name": "set_form_assignment_editable_until"
  }
}

Input Schema

NameRequiredDescriptionDefault
assignment_idYesthe form assignment id
editable_untilYeslast day the client may revise, or null to follow the gig
organization_idNoorganization to act in, an id from get_me; omit to use your active organization

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNothe API response { status (HTTP status), data: { id, form_id, party { kind, id, user_id, name, email, portal_capable }, customer_id, org_member_id, user_id, assignee_name, required, event_id, due_at, form_title, purpose, can_share_link, email_status, emailed_to, editable_until, event_title, event_date, and 17 more fields } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description goes well beyond them: it discloses the permission requirement (crm.manage plus the crm flag), the absence of a confirmation step, that the change takes effect immediately, the resulting locked-response state from the next day, and that stored answers are not modified. It also explains who is exempt (staff) and that first answers are always accepted.

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?

Front-loads the core action and date format, then layers boundary rules, permissions, and execution behavior in short declarative sentences. Every sentence carries distinct information, though the density of edge-case clauses makes it slightly heavy for a single parameter change.

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

Completeness5/5

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

For a three-parameter mutation with an output schema and destructive annotation, nothing material is missing: permissions, timing of effect, null semantics, exemption rules, and no-confirmation behavior are all covered. Agents can invoke it correctly without further context.

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

Parameters4/5

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

Schema coverage is already 100%, yet the description still adds real meaning: the date format and interpretation in the gig's time zone, and the precise semantics of null (follow the gig / revisable indefinitely when no gig exists). The assignment_id and organization_id parameters gain no extra explanation beyond the schema.

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?

States a specific verb and resource: sets the last day a client can revise answers on a form assignment. It is unmistakably a deadline-setting operation and cannot be confused with sibling tools such as update_form_submission_answers or create_form_assignment.

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

Usage Guidelines4/5

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

Gives concrete conditions for the key parameter choice (pass null to follow the gig, including when the assignment has no gig) and clarifies the boundary case where the day falls after the gig. It does not explicitly say when to prefer a different tool, but the semantics are clear enough for correct invocation.

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.