Skip to main content
Glama

Close an Assignment

close_quest_attempt
Destructive

Close your assigned/in-progress attempt ONLY after an explicit request to set it aside. This is terminal: status becomes abandoned, never submitted; evidence and participation remain and shared-evidence access is not revoked. reason=no_longer_needed closes without a replacement. reason=superseded requires superseded_by_attempt_id pointing to your own submitted/scored work. Do not infer closure from inactivity or similarity. For "not today", leave it open. Read history first; explain the consequence before asking whether to close.

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": {
      "attempt_id": "<attempt_id>",
      "reason": "<reason>"
    },
    "name": "close_quest_attempt"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
attempt_idYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
superseded_by_attempt_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Although annotations already mark this as destructive, the description adds the terminal status (abandoned, never submitted), preservation of evidence and participation, and that shared-evidence access is not revoked. It also explains reason-specific conditions, adding substantial context beyond the annotations.

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?

The definition front-loads the restrictive usage ('ONLY after...') and then covers terminal effects and reason rules in dense, purposeful sentences. There is no filler, and the detail is warranted for a destructive operation.

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 destructive operation with no output schema, the description covers what happens on close, what does not happen to evidence or access, the required reason semantics, and the caution against inferring closure. It is complete enough to guide correct invocation.

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 only 25%, and the description compensates for the important enum semantics: no_longer_needed versus superseded, and the conditional requirement for superseded_by_attempt_id to reference the caller's own submitted/scored work. It leaves attempt_id and conversation_id to the schema or parameter name, so it is not exhaustive but is materially useful.

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 specific verb-resource pair ('close ... attempt'), limits it to the caller's assigned/in-progress attempt, and contrasts it with submission by saying the status becomes abandoned, never submitted. That is enough to distinguish it from progress-reporting and evidence-submission siblings.

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

Usage Guidelines5/5

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

It gives an explicit when-to-use rule: only after an explicit request to set the attempt aside. It also gives exclusions ('Do not infer closure from inactivity or similarity'; 'For "not today", leave it open') and a read-history-first workflow.

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.