Skip to main content
Glama

Request a codebase

request_codebase

Posts a public request for a codebase nobody has listed yet, so sellers know someone wants it. Only post one when the user asks, or when search_codebases finds nothing that fits and the user agrees. Check list_codebase_requests first, and if a request already fits, tell the user to upvote it on the website instead. Write it in the user's words: what they need, and anything that matters to them, like the stack. budget_cents is what they'd pay, only if they say.

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": {
      "input": "<input>",
      "context": "<context>"
    },
    "name": "request_codebase"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as "the user" or "a buyer".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as \"the user\" or \"a buyer\".",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "input"
      -]New value: +[
      +  "input",
      +  "context"
      +]
  2. Changed3 schema fields changed
    • addedInput schema / properties / input / properties / details / maxLength
      Added value: +2000
    • addedInput schema / properties / input / properties / title / maxLength
      Added value: +120
    • addedInput schema / properties / input / properties / title / minLength
      Added value: +4
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations cover open-world and non-destructive hints, and the description adds real context beyond them: the post is public and visible to sellers, a duplicate check is mandatory, and posting requires user consent. It stops short of saying what comes back after posting or any rate/size limits beyond the schema's maxLength.

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?

Front-loaded with the action and its effect, then prerequisites, then field semantics — a sensible order with no filler sentences. Minor redundancy: 'what they need, and anything that matters to them, like the stack' nearly duplicates the schema descriptions for title/details.

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 nested, open-world write tool with no output schema, the definition covers the decision path, the consent requirement, and the key field's conditional nature. It omits what the agent receives back (e.g., a request ID or URL to share) and how the user upvotes, which would fully close the loop.

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 50% (the nested 'input' object itself is undocumented), but the description adds intent for the critical field: 'budget_cents is what they'd pay, only if they say', making it conditional rather than required-in-practice. The guidance to write 'in the user's words: what they need, and anything that matters to them, like the stack' loosely mirrors the title/details schema text, adding tone/fidelity guidance rather than new syntax.

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 opens with a specific verb and resource: 'Posts a public request for a codebase nobody has listed yet, so sellers know someone wants it.' It also implicitly distinguishes this from 'search_codebases' and 'list_codebase_requests' by describing the state that precedes posting (nothing listed yet).

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?

Explicit when-to-use ('only post one when the user asks, or when search_codebases finds nothing that fits and the user agrees') plus a when-not path ('check list_codebase_requests first, and if a request already fits, tell the user to upvote it on the website instead'). The required consent gate is stated, which is exactly what an agent needs before a public post.

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