Skip to main content
Glama

Get questionnaire answers

get_questionnaire_submission
Read-onlyIdempotent

Questionnaire answers from the client portal, by lead_id or matter_id. format: text gives labelled plain answers. Social Security numbers and dates of birth are withheld. Sign-in required.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_questionnaire_submission"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNotext: labelled answers with blanks omitted. json: structured answers. Defaults to json.
lead_idNoLead (intake-board task) id from list_recent_leads or find_matter. Alternative to matter_id.
matter_idNoMatter identifier from find_matter or list_open_matters. Alternative to lead_id.
packet_idNoOnly this questionnaire packet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"text: labelled answers, blanks left out, ready to read or file with create_matter_document. Defaults to json."New value: +"text: labelled answers with blanks omitted. json: structured answers. Defaults to json."
    • changedInput schema / properties / lead_id / description
      Previous value: -"Lead (intake-board task) id from list_recent_leads or find_matter. Supply this or matter_id."New value: +"Lead (intake-board task) id from list_recent_leads or find_matter. Alternative to matter_id."
    • changedInput schema / properties / matter_id / description
      Previous value: -"Matter identifier from find_matter or list_open_matters. Supply this or lead_id."New value: +"Matter identifier from find_matter or list_open_matters. Alternative to lead_id."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so extra credit goes to the description's disclosure that SSNs and dates of birth are withheld and that sign-in is required. That redaction and auth context materially affects how an agent presents results to a user, though pagination and result size remain unstated.

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?

Three short sentences that front-load the resource and key, then the format behavior, then the redaction caveat and auth requirement. No filler and nothing 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 read-only, optionally-filtered fetch with full schema coverage and no output schema, the description covers source, keys, format, and redaction. It omits what a call with no id returns and any sense of result volume, which are the remaining gaps.

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 coverage is 100%, so all four parameters including the format enum are already documented in the schema, and the description's 'text gives labelled plain answers' largely restates the enum description. Baseline 3 applies; the description adds no ordering, default, or interaction semantics beyond the schema.

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?

States a specific verb+resource ('Questionnaire answers from the client portal') and the two retrieval keys (lead_id or matter_id). It does not name a contrasting sibling such as get_intake_submission, so an agent must infer the boundary from the portal-source wording alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The lead_id vs matter_id choice is implied by listing both as alternates, and packet_id is mentioned only as a filter. There is no statement of when to prefer this over get_intake_submission or what happens if none of the three ids is supplied, leaving the agent to infer the selection conditions.

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