Skip to main content
Glama

4chems Platform — IUCLID, CHESAR & QSAR Toolbox hosting

Record Consent

record_consent
Idempotent

Record acceptance of a legal document version and return the entry; call this only after showing the user the document URL and version and receiving an explicit affirmative answer.

Input Schema

NameRequiredDescriptionDefault
tenant_idNo
authorizationYes
document_codeYes
document_versionYes

Output Schema

NameRequiredDescriptionDefault
idYes
sourceYes
tenant_idNo
granted_atYes
subject_subYes
document_codeYes
document_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=true and openWorldHint=false, so safety is covered. The description adds the one behavioral trait annotations cannot express: this mutation is a consent capture gated on prior user disclosure and affirmative confirmation. It stops short of explaining the required 'authorization' input or auth/permission requirements.

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?

Two tight clauses with no filler, and the core action is front-loaded before the precondition. The semicolon-joined precondition reads slightly awkwardly but costs nothing in clarity.

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?

An output schema exists, so return values need no explanation, and the consent workflow gate is well covered. The remaining hole is the 0%-documented parameter set, making the definition adequate but incomplete for a tool with a required, unexplained 'authorization' input.

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

Parameters2/5

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

Schema description coverage is 0% across four parameters, so the description carries the full burden and largely fails. 'Legal document version' loosely maps to document_version, but document_code, tenant_id and especially the required, opaque 'authorization' parameter are never explained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Record acceptance of a legal document version') and even notes the effect ('return the entry'). This cleanly separates it from the read-side sibling list_consents and from other write tools like accept_invitation or approve_access_request.

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

Usage Guidelines4/5

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

Provides an explicit sequencing precondition: call only after showing the user the document URL and version and getting an explicit affirmative answer. That is strong usage guidance, but it names no alternative (e.g., list_consents for reading prior consents) and offers no negative case beyond the consent gate.

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.