Skip to main content
Glama

Outbox: dar acceso a otro usuario (grant)

outbox_create_grant

Share a post or folder with another Outbox user by granting view or comment access; recipients see it in their library as shared with me.

Instructions

Le da acceso de lectura a otro usuario de Outbox sobre un post o folder tuyo (POST /api/grants). El recipient lo ve en su biblioteca como 'compartido conmigo'. Permisos: view (default, solo lectura) o comment (además puede comentar y proponer sugerencias con outbox_create_comment / outbox_create_suggestion; comment implica view). No hay permiso de edición: las sugerencias las acepta el owner. No es destructivo.

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": {
      "recipientUser": "<recipientUser>",
      "resource": "<resource>"
    },
    "name": "outbox_create_grant"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageNoMensaje para el destinatario (opcional)
resourceYesSlug del post o path del folder a compartir
permissionsNoPermisos del grant: ['view'] (default) o ['comment'] para que pueda comentar/sugerir (implica view)
resourceTypeNoTipo de recursopost
expiresInDaysNoDías hasta expirar (default 30; null = sin expiración)
recipientUserYesUsername del destinatario (debe existir)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the annotations it discloses the real access model: what the recipient can do under each permission, that `comment` implies `view`, that there is no edit permission and suggestions are owner-accepted, and how the grant surfaces to the recipient ('compartido conmigo'). The 'no es destructivo' line merely restates destructiveHint=false, but the surrounding domain behavior is genuinely additive.

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?

Purpose is front-loaded in the opening clause, followed by recipient-visible effect, then the permission model, then the non-destructive reassurance. Dense but every clause carries information; the only redundancy is the closing 'No es destructivo', which repeats the annotation.

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?

For a 6-parameter mutation with no output schema, the description covers intent, permission semantics and effect well, but it never indicates what a successful call returns — notably whether a grant identifier comes back that would be needed for outbox_revoke_grant or outbox_list_grants. It also says nothing about repeat-call behavior despite idempotentHint=false.

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 baseline would be 3; the description goes further by explaining what the permission values actually enable and by cross-referencing outbox_create_comment / outbox_create_suggestion as the concrete capabilities unlocked by `comment`. It does not add anything for message, expiresInDays or recipientUser beyond 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 first sentence states a specific verb and resource — granting a named user read access to one of your posts or folders — and even names the endpoint (POST /api/grants). It is clearly distinguishable from list/revoke siblings and from comment/suggestion creation, which are referenced only as downstream recipient actions.

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?

The scenario that selects this tool is clear: you own a post/folder and want a specific existing user to see it in their library. It also clarifies the boundary that there is no edit permission and that owners, not recipients, accept suggestions. It stops short of naming explicit alternatives/exclusions (e.g. when to prefer outbox_create_share for link-style sharing), so it is not a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.