Skip to main content
Glama

consents_list

Consent records the workspace uploaded. A consent lifts the rules that need one (consent-only countries such as Germany, sole traders, missing publication evidence); it never lifts an opt-out made after it, a personal mailbox or an unknown country. Only a hash of the address is stored, so filter with email= rather than reading addresses back.

Method: GET /api/v1/workspaces/{workspace_sqid}/consents/

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": "consents_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
leadNoLead sqid.
emailNoAddress (matched by hash).
limitNoNumber of results to return per page.
activeNoOnly usable (or only revoked/rejected) records.
offsetNoThe initial index from which to return the results.
review_statusNo'' (not selected), pending, accepted, rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden, and it discloses substantial non-obvious behavior: that consent overrides consent-only country rules but never post-consent opt-outs, personal mailboxes or unknown countries, and that addresses are stored only as hashes. What it omits is operational behavior — pagination defaults, ordering, and whether revoked records appear by default — which matters for a 6-parameter list tool.

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?

Purpose is front-loaded in the first clause, the precedence rules follow as necessary nuance, and the endpoint trailer is a single compact line. No sentence is redundant.

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 list tool with a fully documented schema and no output schema, the description supplies the domain model, the key filtering caveat and the endpoint. It is only missing return-shape and default-filtering details, which are the main things an agent would still have to guess.

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%, so the schema already documents all six parameters, and the description largely restates the hash-matching detail already present in the `email` field description. It does add the practical implication (query by email rather than reading addresses back), but says nothing about `active`, `review_status`, `limit` or `offset` 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?

The description names the resource precisely ('Consent records the workspace uploaded') and the GET endpoint pins it as a read/list operation, so it is distinguishable from consents_create, consents_revoke and consents_bulk. It never uses the word 'list' or states scope (all records vs. filtered), so it falls just short of a full verb+resource+scope statement.

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?

It gives one concrete operational instruction ('filter with `email=` rather than reading addresses back'), which is genuinely useful routing guidance for this tool. However, it never says when to prefer this over consents_get or consents_bulk, nor are preconditions for use stated; the when-to-use case is only implied by the resource description.

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.