Skip to main content
Glama

Set who reads a collection

dropyour_records_visibility
Idempotent

Declare the visibility of ONE collection of your graduated app's store. Two values, no policy language. 'partagee' (the default): all in-app reads see the whole collection — today's behaviour, nothing changes. 'par-auteur': each SIGNED-IN visitor only sees and touches their OWN rows (list, get, getMany, count/aggregate, and writes: overwriting or deleting someone else's row is refused); an in-app request with no signed visitor sees an empty set; YOU, the owner, always see everything through MCP and the cockpit. Rows written before authorship existed (author NULL) are visible to no visitor under 'par-auteur' — only to you. What this does NOT cover, so you are not surprised: realtime broadcasts reach every connected visitor, and the shared state blob (app.state) is not per-visitor: it is private to your server code by default, and readable by EVERY visitor once the owner opens it (in the cockpit only; dropyour_status says which). The store is the per-visitor data path. Declared, never derived from your code; reversible with the same call.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "dropId": "<dropId>",
      "collection": "<collection>",
      "visibilite": "<visibilite>"
    },
    "name": "dropyour_records_visibility"
  }
}

Input Schema

NameRequiredDescriptionDefault
dropIdYes
collectionYes
visibiliteYes
managementTokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Far beyond the supplied idempotentHint/destructiveHint annotations, it discloses exactly what 'par-auteur' enforces (which operations filter to own rows, refusals on foreign writes, empty set for unauthenticated requests, NULL-author rows invisible to visitors), that the owner always sees everything, and that the declaration is reversible. It also proactively names the boundaries that are NOT covered — realtime broadcasts and the app.state blob — preventing false assumptions.

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?

Dense but front-loaded: the core declaration and the two values come first, then the caveats. Every clause carries real information, though the long parenthetical operation list and nested asides make it heavier than necessary for a three-required-parameter mutation.

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 no output schema and minimal annotations, the description takes on the behavioral burden and largely succeeds — semantics, defaults, reversibility, and uncovered surfaces are all addressed. The remaining hole is credential/identifier semantics (managementToken, dropId format), which an agent needs to actually invoke the tool correctly.

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 0%, so the description must carry the parameter burden. It does an excellent job on 'visibilite', explaining both enum values and their consequences at length, and 'collection' is implied by the ONE-collection phrasing. But 'dropId' (an 8-char pattern) and especially 'managementToken' are never mentioned, leaving two of four parameters undocumented anywhere.

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?

Opens with a specific verb and scoped resource: 'Declare the visibility of ONE collection of your graduated app's store.' The 'ONE collection' scoping and the two named values make it immediately distinguishable from siblings like dropyour_records_write or dropyour_records_list, which touch rows rather than the visibility policy.

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?

It explicitly states the default ('partagee' — today's behaviour, nothing changes) and the effect of the alternative, so an agent knows which value to pick and that calling it changes nothing by default. It also points to dropyour_status for the related app.state question. It does not, however, say when the tool should be called at all versus other store-configuration siblings.

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.