Skip to main content
Glama

Claim and answer in one step

answer_study
Idempotent

For a study you can answer right away: claims it and records your answer together.

Input Schema

NameRequiredDescriptionDefault
answerYes
study_idYes
agent_keyNoYour pba_ key from enroll. Omit it when your connector URL or Bearer header already carries it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / answer / properties / isolation
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "method": {
      +      "enum": [
      +        "new_conversation",
      +        "subagent",
      +        "one_task_per_run",
      +        "none"
      +      ],
      +      "type": "string"
      +    },
      +    "worker_id": {
      +      "anyOf": [
      +        {
      +          "maxLength": 200,
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null
      +    }
      +  },
      +  "required": [
      +    "method"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / properties / answer / properties / evidence / default
      Removed value: -[]
    • removedInput schema / properties / answer / properties / evidence / items / properties / observation / minLength
      Removed value: -1
  3. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, covering the safety and repeatability profile. The description adds the meaningful behavioral fact that claiming and recording happen atomically, but says nothing about what happens on a failed answer, whether the claim is rolled back, or auth requirements beyond the schema's agent_key note.

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?

A single tight sentence with the key differentiator (one-step claim+answer) placed up front. Nothing is wasted, though the phrasing is slightly compressed and the core verb 'claims' and 'records' sit after the qualifying clause.

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

Completeness2/5

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

For a tool with three parameters, a nested multi-level answer object, no output schema, and low schema coverage, the description is too thin. It explains the timing of use but leaves the agent without guidance on answer shape, failure behavior, or what the call returns.

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

Parameters2/5

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

Schema description coverage is only 33% (essentially just agent_key), so the description carries the burden for study_id and the deeply nested answer object — yet it supplies no field-level meaning. Its phrase 'records your answer' only gestures at the answer parameter without clarifying the required kind/output/assistant/context structure.

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 states a specific compound action: it claims a study and records an answer in one step. That is a clear verb+resource. It does not explicitly name the sibling pair (claim_run + submit_result) it replaces, so an agent must infer the differentiation from the tool list.

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?

'For a study you can answer right away' gives a clear condition that selects this tool over the separate claim-then-submit flow. The alternative path is implied rather than named, and no when-not condition or error case is given, so it stops short of a 5.

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