Skip to main content
Glama

Samuelz® Agent

Ask a policy question

ask_work_question
Idempotent

Record one unresolved question from a role's own work against a named policy. Optional answerOptions offer 2–5 concrete choices with a key, label, reason and exact policy value for Owner review. Supply only known, contract-valid values; do not invent policy or business values. This does not change policy, message a person or authorize an effect. POST /api/v1/tenant/write/ask_work_question.

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": {
      "roleKey": "<roleKey>",
      "questionKey": "<questionKey>",
      "question": "<question>",
      "policy": "<policy>",
      "requestKey": "<requestKey>"
    },
    "name": "ask_work_question"
  }
}

Input Schema

NameRequiredDescriptionDefault
policyYes
workIdNo
roleKeyYes
questionYes
requestKeyYes
questionKeyYes
answerOptionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With readOnlyHint=false, destructiveHint=false and idempotentHint=true already declared, the description still earns credit by scoping effects explicitly: it does not change policy, notify anyone, or authorize anything. The 'supply only known, contract-valid values; do not invent policy or business values' line discloses a real validation failure mode. It does not restate idempotency or explain what the response contains for a write call.

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 compact sentences plus an endpoint, front-loaded with the core action. The answerOptions sentence is dense but informative; the trailing POST path is mildly redundant with the tool identity but harmless. No filler or repetition.

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?

For a 7-parameter mutation tool with zero schema descriptions and no output schema, the description covers purpose, effect boundaries, and the answerOptions shape, which is substantial. Gaps remain around the requestKey/idempotency contract, workId scoping, and what the call returns on success or conflict. Adequate but not complete for the schema's complexity.

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 description coverage is 0%, so the description must compensate. It does add meaning for answerOptions — 2–5 choices, each with key, label, reason and an exact policy value, which clarifies the nested object structure and the minItems 2/maxItems 5 bounds. However, roleKey, questionKey, workId and requestKey (apparently the idempotency token) are never explained, leaving several required parameters opaque.

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 verb and resource: 'Record one unresolved question from a role's own work against a named policy.' That is far more precise than the title 'Ask a policy question' and tells the agent this is a write-side recording action. It does not explicitly name resolve_work_question as the counterpart for closing a question, so sibling differentiation is implied rather than stated.

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?

Usage is implied by 'one unresolved question from a role's own work' — the agent can infer this is for raising, not answering, questions. The exclusions given ('does not change policy, message a person or authorize an effect') define effect boundaries rather than routing guidance. No alternative tool is named for resolving or answering a question.

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