Skip to main content
Glama

Answer a job's question

answer_job

Answer a non-secret question of a job: yes / no (a confirmation, authorising a site), text, done (handled in the browser), cancel. question_id is the id in the job's "Question …" line (browser_task, get_job). Codes and passwords are never sent here: they go on the answer page.

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": {
      "id": "<id>",
      "question_id": "<question_id>",
      "answer": "<answer>"
    },
    "name": "answer_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
answerYes
question_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, so the agent knows it mutates job state harmlessly; the description stays consistent and adds the real behavioral context: only non-secret questions may be answered here, and distinct answer modes ('done' = handled in the browser, 'cancel') have different side effects. It does not say what happens to the job after 'cancel' or what a response contains, keeping this below a 5.

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 dense sentences: the capability and answer modes first, then the critical negative constraint about secrets. No filler, and the most safety-relevant clause is not buried.

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?

For a 3-parameter tool with no output schema and only minimal annotations, the description covers the essentials: valid answers, where question_id comes from, and what must not be answered through this route. It stops short of describing the result of the call or what 'cancel' does to the job.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must carry all meaning, and it largely does: it explains that question_id is the id in the job's "Question …" line and names the tools where that line appears, and it glosses each answer value ('yes / no (a confirmation, authorising a site)', text, done, cancel). Only the job 'id' parameter is left unexplained, but it is unambiguous from the sibling set.

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 first clause names the specific verb and resource ("Answer a ... question of a job") and immediately enumerates the valid answer shapes (yes/no, text, done, cancel). The non-secret qualifier separates it from the separate answer page, so an agent can tell what class of question this tool handles without opening the schema.

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 tells the agent when to use it and, crucially, when not to: codes and passwords are never sent here, they go on the answer page. It also points at where question_id comes from (the job's "Question …" line, obtainable via browser_task or get_job). No explicit contrast with message_job or cancel_job, which is the only real gap.

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.