Skip to main content
Glama

Add quota condition

add_quota_condition

Add a (question, answer code) condition to a manual quota. A condition on a second question interlocks the cell.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qidYesQuestion id (qid from list_questions).
codeYesAnswer code.
quota_idYesQuota id (from list_quotas).
survey_idYesSurvey id (see list_surveys, or the survey_id returned by a create tool).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The description adds a useful behavioral detail: a condition on a second question interlocks the cell. It does not contradict the annotations, but it does not describe error behavior, idempotency implications, or the precise effect on the quota structure beyond the interlock note.

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 concise sentences with no filler. The primary action is front-loaded, and the interlock nuance is presented as a short, useful addition.

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 four-parameter mutation with no output schema, the description gives the essential action and an important domain concept. It lacks broader context such as how conditions interact with existing quota limits or what a successful response looks like, but it remains minimally adequate.

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 100% and every parameter has a meaningful description, so the schema already carries the semantic weight. The tool description adds no further parameter-level detail, keeping this at the baseline.

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 clearly states the action ('Add'), the resource ('a manual quota'), and the object ('a (question, answer code) condition'). It is specific enough to distinguish adding from removing or updating conditions, though it does not explicitly name sibling tools.

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 phrase 'manual quota' implies when this tool is relevant, and the action 'add' signals the operation. However, there is no explicit guidance about when to use this over update_quota_condition or remove_quota_condition, and no stated exclusions or alternatives.

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.