Skip to main content
Glama

give_consent

Idempotent

Records the user's consent to Forkmate storing and processing their health-related data, as summarised in the consent text that a refused log reply shows. Valid only as the user's own explicit agreement given in this conversation; an assistant agreeing on the user's behalf is not consent. Stores the consent version, the time, the connected app and the user's words, then logs any meal that was waiting for consent. Withdrawal is in Forkmate Settings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionYesThe consent version shown to the user.
user_statementYesThe user's own words agreeing, as they replied, e.g. 'yes, I agree'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
loggedYesMeals held until consent, now logged.
versionYes
consentedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive behavior, so the bar is lower, but the description goes further: it discloses what is persisted (consent version, time, connected app, user's words) and the side effect of logging a pending meal. It could say more about failure handling if the version mismatches, but the added context is substantial.

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 dense sentences that are front-loaded with the purpose and the consent-validity constraint, followed by storage side effects and the withdrawal path. Every sentence carries information, though the prose is a little packed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a consent-recording mutation with full annotation coverage and an output schema, the description covers the authorization requirement, the stored fields, the meal-logging side effect, and how consent is withdrawn. Nothing needed to invoke it correctly is missing.

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%, so the baseline is 3, but the description adds genuine semantics: user_statement must be the user's own words and version corresponds to the consent text shown. This clarifies intent beyond the enum and maxLength in the schema.

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?

The description names a specific verb and resource ('Records the user's consent to Forkmate storing and processing their health-related data') and adds the downstream effect ('logs any meal that was waiting for consent'). This is clearly distinguishable from siblings like log_meal or update_preferences.

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

Usage Guidelines5/5

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

It states the triggering context (a refused log reply shows the consent text), an explicit exclusion ('an assistant agreeing on the user's behalf is not consent'), and where withdrawal happens (Forkmate Settings). When-to-use and when-not-to-use are both covered.

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.