Skip to main content
Glama

runrunit_share_cursor_agent

Open a pull request to share a Cursor agent with your team, including the agent's markdown file for review.

Instructions

Use when the user wants to share a Cursor agent with the team through GitHub (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 GITHUB_TOKEN on the MCP server host only; owner, repo and base branch are 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.8/5.0
Behavior5/5

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

With no annotations present, the description carries the full behavioral burden and does so well. It discloses the main side effect (opens a pull request), the source directory (cursor-agents/), the auth requirement (GITHUB_TOKEN on the MCP server host only), auto-detection behavior, and the safety rule to never pass credentials. This gives an agent a strong picture of what will happen and what environment is needed.

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?

The description is front-loaded with the primary use case and then adds the distinguishing alternative, behavior, auth, and safeguards. Every sentence contributes essential information without becoming bloated, and the included language examples are compact and useful for matching user intent.

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 output schema and no annotations, the description covers the key invocation context: what it does, when to use it, where it reads from, and the required environment. It does not describe what the tool returns (e.g., a PR URL), but for the purpose of correct selection and invocation this is a minor gap.

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%, providing the baseline of 3. The description adds meaningful context beyond the schema by explaining that project_root is where git origin is auto-detected for owner/repo/base branch, and that env vars can override this. This helps an agent understand why the optional project_root parameter matters.

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 uses a specific verb and resource: 'share a Cursor agent with the team through GitHub' and 'Opens a pull request with one markdown file from cursor-agents/'. It clearly distinguishes this tool from the local install sibling and the Bitbucket variants, so an agent can identify it without ambiguity.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly states when to use the tool ('Use when the user wants to share a Cursor agent with the team through GitHub') and names the alternative for the local-use case ('For copying agents into ~/.cursor/agents locally, use runrunit_install_cursor_agents instead'). The GitHub scope also implicitly routes away from the Bitbucket sibling, and the token and project_root constraints give clear prerequisites.

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