Skip to main content
Glama

list_consents

Read-only

The consents of one person, or of the whole tenant. Each row says whether it is valid TODAY — that is not the same as its status: an expired consent still reads 'granted'.

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

Input Schema

NameRequiredDescriptionDefault
limitNoDefault 50.
lead_idNoID of the lead
purposeNoOnly consents for this processing purpose
contact_idNoID of the contact

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / contact_id / description
      Added value: +"ID of the contact"
    • addedInput schema / properties / lead_id / description
      Added value: +"ID of the lead"
    • addedInput schema / properties / purpose / description
      Added value: +"Only consents for this processing purpose"
  2. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered by structured data. The description does add a genuinely non-obvious caveat — that the per-row validity flag for TODAY differs from the stored status, since an expired consent still reads 'granted' — which materially changes how an agent should interpret results. It says nothing about pagination, result size, or the default 50-row cap, so the disclosure is useful but narrow.

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 short sentences, zero filler, with the scope statement front-loaded and the interpretation warning second. Every clause carries actionable information an agent would not get from the schema.

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, four-optional-parameter list tool with full schema coverage and no output schema, the definition covers what is returned, the scope switch, and the key semantic trap in the data. It could still mention the default result limit/pagination and how lead_id and contact_id relate, which are the remaining gaps for correct invocation.

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

Parameters4/5

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

Schema coverage is 100%, giving a baseline of 3, and the description earns one point above that by explaining the semantics of the optional person filter: present means one person's consents, absent means tenant-wide. It does not clarify the lead_id vs. contact_id choice or filter the 'purpose' parameter, so some ambiguity remains.

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 first sentence names the resource (consents) and its two scopes (one person vs. the whole tenant), so an agent knows exactly what comes back. It stops short of naming any sibling tool or stating what makes this different from other list_* tools, so it is clear but not fully differentiated.

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 through the scope phrasing: supply a person identifier to get one person's consents, omit it to sweep the tenant. There is no explicit when-to-use/when-not-to-use statement, no mention of mutually exclusive alternatives, and no guidance on combining the filters.

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.