Get a user's consent
get_consentThe latest consent answer per purpose for one user, like marketing_push, and the history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Your own id for the user. |
get_consentThe latest consent answer per purpose for one user, like marketing_push, and the history.
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Your own id for the user. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description does add valuable return-shape context — latest answer per purpose plus history — which matters because there is no output schema, but it does not say what happens for users with no consent records or how the history is ordered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short sentence with the key scope (one user, per purpose, latest plus history) front-loaded and an illustrative example. No wasted clauses, though the phrasing is slightly telegraphic.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple read tool with annotations and full schema coverage this is close to sufficient, and it does sketch the return shape. Missing are the empty-result behavior and the purposes vocabulary, which the agent would need to interpret results without an output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the single user_id parameter is documented as 'your own id for the user.' The description only restates 'for one user,' adding no new semantics about lookup failure or accepted id forms.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific resource (consent answers) and scope (one user, per purpose) plus a concrete example domain (marketing_push), so an agent knows exactly what comes back. It does not differentiate from any sibling, though no sibling covers consent, so the ambiguity cost is low.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to call this versus related user tools (export_user, get_authenticator, list_devices) or on prerequisites. The agent must infer that this is the lookup for a single known user_id.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.