Skip to main content
Glama

anon_post_invites

Destructive

Generates project invitations as open one-time links or targeted to specific users, requiring member:manage permission.

Instructions

创建项目邀请。需 member:manage 权限。不传 targetUserId 为开放链接(任何登录用户可接受,一次性);传入则仅该用户可接受。前端拼 location.origin + url 发给对方。 POST /api/projects/{id}/invites 项目由当前 API 密钥自动确定,无需传 projectId。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=true, idempotentHint=false). The description adds genuinely new context: the member:manage authorization requirement, the one-time nature of the open link, and that the project is derived from the API key rather than a parameter. It stops short of explaining reversibility or the returned resource.

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?

Purpose is front-loaded, followed by precondition, behavioral branch, sharing mechanic, and route. No redundant sentences; the frontend concatenation note earns its place as an operational detail.

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 mutation tool with no output schema, the description covers the essentials: permission gate, the two invite modes, and implicit project scoping. It leaves the return payload (presumably the url) and the roleName field unaddressed, which are the main remaining gaps.

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?

Reported schema coverage is 0%, so the burden falls on the description, which it partially meets: it explains targetUserId's two very different meanings (open link vs. restricted invitee) far beyond the terse schema note. However it says nothing about roleName or expiresInHours, leaving part of the nested body unexplained.

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 description states a specific verb and resource (create project invite) and immediately branches into the two distinct modes of the operation. An agent can tell exactly what this tool does and how it differs from read-oriented siblings.

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 gives clear conditions for choosing between the open-link path (omit targetUserId) and the targeted path (pass targetUserId), plus the required member:manage permission. It does not name or contrast with any sibling tool, so it stops short of the 5-level when-not/alternative guidance.

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

Deploy Server

Other Tools