Skip to main content
Glama
browser-bot
by bahira

Answer a job's questions

provide_input
Destructive

Submits answers to pending browser job questions by question ID, using option IDs for choices and structured values for other or noted responses; confirm passwords or one-time codes with the user.

Instructions

Answer the questions a job is waiting on, keyed by question id. Choices use option ids; with allowOther, {"other": text}; with allowNote, {"option": id, "note": text}; a multi_choice is an array of ids or {"options": [ids]}. A secret answer is visible to this conversation: ask the user before sending a password or a one-time code, and expect the site to ask again on the next call because nothing is saved.

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": {
      "job_id": "<job_id>",
      "request_id": "<request_id>",
      "answers": "<answers>"
    },
    "name": "provide_input"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
answersYesAnswers keyed by question id.
request_idYesThe pending request id from get_job.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag a mutating, open-world, destructive operation, and the description adds genuinely new context: secret answers are visible to this conversation and nothing is persisted, so the site will re-ask on the next call. That non-persistence warning is real behavioral value beyond the annotations. It does not, however, explain what an invalid or partial answer set does to the job.

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?

Opens with the purpose, then packs the encoding rules into a tight semicolon-separated run. Every clause carries information, but the compressed style makes the answer-format rules harder to scan than a short list would be.

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 destructive, nested-payload tool with no output schema, the definition covers intent, payload encoding, and the secret-handling caveat, which is most of what an agent needs. Remaining gaps are the result of the call and how partial or rejected answers are handled.

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 coverage is 67% and the answers object is an untyped free-form map, so the description carries real weight: it specifies option ids, the {"other": text} form under allowOther, {"option": id, "note": text} under allowNote, and the array form for multi_choice. Without this an agent could not construct a valid payload.

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?

Names a specific verb and resource: answering the questions a job is waiting on, keyed by question id. An agent can tell this apart from get_job (which supplies the request id) and cancel_job, though the description itself never names a sibling; the differentiation comes mostly from the schema's reference to get_job.

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?

Establishes the trigger clearly (a job is waiting on questions, identified by request_id from get_job) and adds a concrete precondition for the risky case: ask the user before sending a password or a one-time code. No explicit when-not-to-use or statement that answers must cover all pending questions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.