Skip to main content
Glama

What happens to pull requests

get_review_intake
Read-only

What happens when someone opens a pull request (a review) at one project's code home that no CodeGene task owns: choice adopt makes each one a task with its own preview to try and put live, ignore gives it a preview only. Answers the choice, every choice with its meaning, heldBecause when a decision holds the choice (then nobody can change it here), and whether the person may change it. codeHome false: the project has no code home yet. Changing it is set_review_intake.

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>"
    },
    "name": "get_review_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idYesThe site (list_projects gives ids).
workspace_idNoWorkspace id from whoami; omit when there is one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly and non-destructive, so the safety profile is covered; the description earns credit for adding substantive behavioural context beyond that, including what the response fields mean (choice values and their effects, heldBecause meaning 'nobody can change it here', the permission flag, and codeHome false meaning no code home exists). It does not discuss error cases or what an empty/unconfigured project returns, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the domain concept, but the middle sentences are dense and grammatically tangled ('Answers the choice, every choice with its meaning, heldBecause when a decision holds the choice (then nobody can change it here)'), which costs clarity. It is not padded with fluff, but the phrasing could be tightened substantially.

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?

There is no output schema, so the description must carry the return-value burden, and it largely does: choice, the meaning of each choice, heldBecause, the change-permission flag, and the codeHome case are all covered. It is nearly complete for a two-parameter read tool, with only edge-case behaviour left implicit.

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% and both parameters (project_id, workspace_id) are documented in the schema itself. The description adds no additional meaning about parameter formats or interactions, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the resource concretely: it is about how pull requests ('reviews') are handled at a project's code home that no CodeGene task owns, and it names the two intake choices (adopt, ignore) with their effects. It also explicitly contrasts with set_review_intake ('Changing it is set_review_intake'). The purpose is clear but phrased roundaboutly ('What happens when...') rather than stating outright that this reads the current intake configuration.

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 context for use — inspecting the current intake behaviour and the decision state — and points to the correct alternative for mutation ('Changing it is set_review_intake'). It does not state explicit exclusions or prerequisites (e.g. what to do when codeHome is false beyond noting it), so it falls just short of full when/when-not guidance.

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.

Resources