Skip to main content
Glama

Set Interview Goal

set_interview_goal
Destructive

Add (omit goalId) or replace a research goal and its questions. Questions match by id: keep saved IDs so uploaded images and videos stay; an ID from another goal moves that question here. droppedFiles lists uploads an edit removed.

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": {
      "testId": "<testId>"
    },
    "name": "set_interview_goal"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoRequired for a new goal.
goalIdNoGoal to replace; omit to add one.
testIdYes
positionNo0-based goal position.
objectiveNo
questionsNoComplete ordered list; saved questions left out are removed.

Output Schema

NameRequiredDescriptionDefault
urlYesThe study in the Uxia builder. Share it as a clickable Markdown link.
goalsYes
titleYes
goalIdNoThe goal this call added or replaced.
issuesYesWhat must be fixed before interviews can start.
statusYes
testIdYesInternal identifier for follow-up interview tool calls.
editableYesfalse once the first recorded interview starts: the guide is then read-only.
languageYes
revisionYes
objectiveYes
droppedFilesNoUploaded files this edit removed. Tell the user; they can upload them again in Uxia.
estimatedMinutesYesPlanned interview length.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / position / maximum
      Added value: +9007199254740991
    • changedOutput schema / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / goals / items / additionalProperties
      Previous value: -trueNew value: +{}
    • changedOutput schema / properties / goals / items / properties / questions / items / additionalProperties
      Previous value: -trueNew value: +{}
    • addedOutput schema / properties / goals / items / properties / questions / items / properties / optionImages / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / goals / items / properties / questions / items / properties / optionImages / minimum
      Added value: +-9007199254740991
    • changedOutput schema / properties / goals / items / properties / questions / items / properties / stimulus / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "fileType": {
      -        "type": "string"
      -      },
      -      "viewingSeconds": {
      -        "anyOf": [
      -          {
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "When set, the image is shown once for this many seconds, then hidden. Set in Uxia."
      -      }
      -    },
      -    "required": [
      -      "fileName",
      -      "fileType"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "fileType": {
      +        "type": "string"
      +      },
      +      "viewingSeconds": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When set, the image is shown once for this many seconds, then hidden. Set in Uxia."
      +      }
      +    },
      +    "required": [
      +      "fileName",
      +      "fileType"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / revision / maximum
      Added value: +9007199254740991
    • addedOutput schema / properties / revision / minimum
      Added value: +-9007199254740991
  2. Changed1 schema field changed
    • removedInput schema / properties / questions / maxItems
      Removed value: -8
  3. Changed1 schema field changed
    • changedOutput schema / properties / goals / items / properties / questions / items / properties / stimulus / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "fileName": {
      -        "type": "string"
      -      },
      -      "fileType": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "fileName",
      -      "fileType"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "fileName": {
      +        "type": "string"
      +      },
      +      "fileType": {
      +        "type": "string"
      +      },
      +      "viewingSeconds": {
      +        "anyOf": [
      +          {
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "When set, the image is shown once for this many seconds, then hidden. Set in Uxia."
      +      }
      +    },
      +    "required": [
      +      "fileName",
      +      "fileType"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety bar is covered; the description adds non-obvious consequences on top: question identity is by ID, keeping a saved ID preserves uploaded images/videos, an ID belonging to another goal migrates that question here, and droppedFiles signals destructive fallout from an edit. It does not state whether the operation fails atomically or which permissions are needed, so it is rich but not complete.

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?

Three tight sentences, front-loaded with the add/replace decision, then identity semantics, then the droppedFiles side effect — no filler. The closing sentence is telegraphic ('droppedFiles lists uploads an edit removed') and mixes a return-value detail into a mutation summary, which costs a little readability.

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?

An output schema exists, so return values need not be explained, and annotations cover the destructive profile. However, for a destructive whole-collection replacement with a required title on creation and ordering via position, the description says nothing about those constraints, about partial failure, or about how calling it affects goals not named — an agent must read the schema closely to act correctly.

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 67%, and the description compensates for the highest-risk fields: it explains the goalId add/replace branch and the questions[].id identity contract, and adds a fact absent from the schema — that an ID from another goal moves that question. It leaves title requirement, position ordering, objective and the follow-up/time-budget coupling entirely to the schema, so it is helpful rather than exhaustive.

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 pair ('Add ... or replace') and an exact resource ('a research goal and its questions'), and immediately encodes the switch between the two modes ('omit goalId'). An agent can tell this writes goals rather than removing or reading them, which is the key distinction from the neighbouring remove_interview_goal / get_interview_* family.

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?

Explicitly tells the agent when to use the add path (omit goalId) versus the replace path, which is real routing guidance. It stops short of saying when NOT to use it (e.g. that removing a goal is a different tool, or that editing a single question has its own tool), so it lacks exclusions.

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