Skip to main content
Glama

Cancel Feasibility Request

cancel_feasibility_request
Idempotent

Withdraw a pending feasibility request. A request already answered cannot be cancelled.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
request_idYes
organization_idNoPlatform admins only: select an organization for this operation. Required when changing another organization’s study or using its wallet.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYesThe withdrawn feasibility request.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / organization_id
      Added value: +{
      +  "description": "Platform admins only: select an organization for this operation. Required when changing another organization’s study or using its wallet.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed17 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / request_id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / result / additionalProperties
      Previous value: -trueNew value: +{}
    • removedOutput schema / properties / result / properties / cancelled_at / $ref
      Removed value: -"#/properties/result/properties/responded_at"
    • addedOutput schema / properties / result / properties / cancelled_at / description
      Added value: +"ISO 8601 timestamp."
    • addedOutput schema / properties / result / properties / cancelled_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / result / properties / estimated_timeline_hours / $ref
      Removed value: -"#/properties/result/properties/estimated_total_cost_per_interview_usd"
    • addedOutput schema / properties / result / properties / estimated_timeline_hours / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / result / properties / estimated_total_cost_usd / $ref
      Removed value: -"#/properties/result/properties/estimated_total_cost_per_interview_usd"
    • addedOutput schema / properties / result / properties / estimated_total_cost_usd / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / result / properties / expected_response_by / $ref
      Removed value: -"#/properties/result/properties/responded_at"
    • addedOutput schema / properties / result / properties / expected_response_by / description
      Added value: +"ISO 8601 timestamp."
    • addedOutput schema / properties / result / properties / expected_response_by / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • addedOutput schema / properties / result / properties / target / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / result / properties / target / minimum
      Added value: +-9007199254740991
  3. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so safety and repeat-call behavior are covered structurally. The description adds the state-machine constraint (cannot cancel an answered request), which is genuine extra context, but says nothing about reversibility, resulting state, or error behavior.

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, zero filler, with the core action front-loaded and the constraint immediately after. Every sentence earns its place.

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

Completeness4/5

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

With an output schema present, the description need not explain return values, and the annotations carry the safety profile. Purpose plus the pending-only constraint is largely sufficient for a single-required-param cancel operation, though failure modes are left implicit.

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 50%: organization_id is documented in-schema while request_id relies on its uuid format/pattern. The description adds no parameter meaning at all, so it neither compensates for the gap nor falls below the baseline for mid coverage.

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 description gives a specific verb and resource ('Withdraw a pending feasibility request'), which cleanly separates it from siblings like submit_feasibility_request and get_feasibility_request. It is clear without naming those alternatives explicitly, so it lands just short of a 5.

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?

It supplies a real precondition — only pending requests can be cancelled; an answered request cannot — which tells the agent when this tool will fail. It does not, however, point the agent at alternatives such as get_feasibility_request to verify status first.

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.

Resources