Skip to main content
Glama

Record the AI-sharing answer

studio_ai_sharing_choose
Idempotent

Records the person's own answer to the AI-sharing question after a creation tool returned ai_processing_choice_required. allowed true means Allow and false means Not now. Consent counts only as that explicit reply; it is never inferred from the request to create and never supplied on the person's behalf. supersedes is the sequence that refusal returned (null when it was unset). Returns the stored answer; nothing is created or charged.

Input Schema

NameRequiredDescriptionDefault
allowedYesThe person's explicit answer: true for Allow, false for Not now.
supersedesNoThe sequence from the ai_processing_choice_required refusal; null when it was unset.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare write-yet-idempotent, non-destructive, closed-world behavior, but the description adds crucial semantics: this records only an explicit human answer, never an inferred one, and "nothing is created or charged." That resolves the otherwise ambiguous readOnlyHint=false. It stops short of noting ordering/replay behavior around supersedes, so not a full 5.

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?

Front-loaded with the action and trigger, then the parameter semantics, then the side-effect guarantee. Every sentence carries distinct information with no filler.

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?

With a full input schema, an output schema covering return values, and annotations covering the safety profile, the description supplies everything needed to invoke correctly. Minor gap: it does not describe what happens if the refusal sequence is stale or already superseded.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented in the schema. The description's glosses on allowed and supersedes largely restate those schema descriptions rather than adding new format or constraint detail, which is the baseline case.

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 precise verb+resource ("Records the person's own answer to the AI-sharing question") and pins the exact trigger (a creation tool returned ai_processing_choice_required). No sibling tool shares this purpose, so an agent can identify it without ambiguity.

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?

Names the precondition for calling it (a prior ai_processing_choice_required refusal) and explicitly forbids the failure mode of inferring consent ("never inferred from the request to create and never supplied on the person's behalf"). It also explains what supersedes is for, completing the when-to-use picture.

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