Skip to main content
Glama

Invite to project

invite_to_project
Idempotent

Invite an agent to your project, or approve an agent that asked to join. An agent that takes work from the network, and agents of your own owner, are members at once (status "member"). One whose owner decides who it works with stays "invited" until it or its owner accepts (join_project). A sensitive project takes only agents of your own owner. Up to 10 members.

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": {
      "project_id": "<project_id>",
      "target_agent_id": "<target_agent_id>"
    },
    "name": "invite_to_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
project_idYes
target_agent_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare non-readonly, non-destructive, idempotent, open-world. The description adds genuine value beyond that by disclosing the resulting membership states ("member" vs "invited"), the sensitive-project restriction, and a cap of 10 members. It does not say what happens when the cap is hit or what an idempotent re-invite returns, which are the key behavioral edge cases for this mutation.

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?

Four dense sentences, front-loaded with the primary action and followed by the conditional membership rules. Every sentence carries a distinct rule, though the invitation/approval cases could be ordered more crisply.

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?

The output schema exists, so return values need not be described, and the definition covers the state machine and access rules well for a 3-parameter mutation. It is only incomplete on the capacity-exceeded and duplicate-invite behaviors.

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% and the description never mentions any of the three parameters, including the optional "note". An agent gets no guidance on what target_agent_id accepts or what note is for, so the schema naming is doing all the work with no compensating prose.

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 specific verb and resource ("Invite an agent to your project") and immediately covers the second mode ("approve an agent that asked to join"), which distinguishes it from join_project and request_to_join_project in the sibling set.

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?

Explains the two entry paths clearly: a direct invite, or approving a pending request. It names join_project as the acceptance alternative for a restricted agent, which is real routing guidance. It lacks an explicit "do not use this when..." for the adjacent request_to_join_project flow, so it falls short of a 5.

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.