Skip to main content
Glama

runrunit_share_cursor_agent_bitbucket

Opens a Bitbucket pull request to share a Cursor agent with the team, adding the agent's markdown file from cursor-agents/ for review and collaboration.

Instructions

Use when the user wants to share a Cursor agent with the team through Bitbucket (e.g. compartilhar agente com o time, dividir com o time, propor ao repositório, share agent with the team via PR). Opens a pull request with one markdown file from cursor-agents/. For copying agents into ~/.cursor/agents locally, use runrunit_install_cursor_agents instead. Requires BITBUCKET_USERNAME and BITBUCKET_APP_PASSWORD on the MCP server host; workspace, repo slug and base branch auto-detected from git origin in project_root (env vars override). Never pass credentials via this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_nameYesAgent file name or stem (e.g. security-auditor or security-auditor.md) matching a file under cursor-agents/.
project_rootNoOptional absolute path to project root containing cursor-agents/. If omitted, walks up from cwd.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.1

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden — and it delivers. It discloses the side effect (opens a PR), exact auth requirements (BITBUCKET_USERNAME and BITBUCKET_APP_PASSWORD on the MCP server host), auto-detection behavior (workspace, repo slug, base branch from git origin with env-var override), and a security rule ('Never pass credentials via this tool'). This is exemplary for an unannotated mutation tool.

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?

Four sentences, each earning its place: the usage trigger, the core PR behavior, the sibling alternative, and the auth/security constraints. The most decision-relevant information is front-loaded, and nothing is redundant with the schema.

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 tool with no annotations and no output schema, the description covers purpose, trigger, alternative, auth, auto-detection, and parameter location comprehensively. The only gaps are the return value (e.g., PR URL) and error behavior if the agent file is absent from cursor-agents/, which are minor against all essential call information being present.

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 baseline 3 applies. The description adds context by tying agent_name to a markdown file under cursor-agents/ and confirming project_root is the git-origin detection point, but it does not add syntax or format details beyond what the schema already provides.

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 trigger ('share a Cursor agent with the team through Bitbucket'), a concrete mechanism ('Opens a pull request with one markdown file from cursor-agents/'), and includes Portuguese example phrasings to aid recognition. The Bitbucket-via-PR behavior clearly distinguishes it from the generic-runrunit_share_cursor_agent sibling, and it explicitly names the install tool it is not.

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?

An explicit 'Use when' condition is front-loaded, and the description names runrunit_install_cursor_agents as the alternative for the local-copy scenario. It does not explicitly contrast against runrunit_share_cursor_agent (the non-Bitbucket sharing sibling), though the Bitbucket channel and PR mechanism make most routing decisions obvious.

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