Skip to main content
Glama

learning_consent

Destructive

Grant or withdraw one purpose for your own source contribution. Account control does not prove rights ownership.

Input Schema

NameRequiredDescriptionDefault
keyYes
grantedYes
purposeYes
terms_versionNo
contribution_idYes
authorized_rightsholderNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false, openWorldHint=true and idempotentHint=false, so the dangerous nature of the operation is documented structurally. The description adds the notable caveat that account control does not establish rights ownership, which is a real authorization-context disclosure beyond the annotations, though it is terse and omits what a withdrawal actually revokes.

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 short sentences with no padding, and the core action is front-loaded. The second sentence earns its place as an authorization caveat, though it is somewhat cryptic rather than wasteful.

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

Completeness2/5

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

This is a destructive, non-idempotent mutation with six undocumented parameters and no output schema. The description does not explain what granting or withdrawing consent changes, what the authorized_rightsholder and terms_version inputs control, or the effect of withdrawal, so an agent lacks enough to call it confidently.

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 6 parameters, so the description must carry the load. It only loosely gestures at 'purpose' and 'your own source contribution'; it says nothing about key, granted, terms_version, or the authorized_rightsholder flag, leaving most parameters unexplained.

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 a specific verb pair (grant or withdraw) and the resource (one purpose for your own source contribution), with a clear scope of 'one purpose' and 'your own' contribution. It does not explicitly differentiate itself from siblings like withdraw_learning or read_learning_policy, but the coupling to consent purpose is distinctive enough to orient the agent.

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

Usage Guidelines2/5

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

No statement of when to use this tool versus alternatives such as withdraw_learning or save_learning. The caveat 'Account control does not prove rights ownership' hints at an authorization precondition, but the agent is left to infer when this tool is appropriate and what qualifies a caller.

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.

Resources