Skip to main content
Glama

build_in_public_status

Read-onlyIdempotent

READ-ONLY status of the org's Build-in-Public GitHub connection. Returns { configured (server has a GitHub OAuth app), connected (user completed the authorize flow), githubLogin, connectedAt, mode (APPROVE = human approves every draft, the default; AUTO = drafts post unattended), enabled, dailyLimit, postMode ("per-pr" or "digest"), digestFrequency, digestDayOfWeek, digestHourUtc, maxPostsPerWeek, nextDigestAt, lastDigestAt, pendingDigestCount, defaultBranch, repos: [{ fullName, branch, webhookRegistered, isWebhookActive, lastWebhookAt, route: { routed, kind ("accounts" | "collection" | null), targets [{ id, platform, name }], collectionName, cadence, approval, sources, ignoreBots, ignoreChores, voice, linkUrl, nextPostAt, lastPostAt, pendingChanges, lastDraft } }], lastDraft (the most recent GitHub-event draft) }. A repo with route.routed false still follows the org-wide settings. Pass targets:true to also get the accounts and collections a repo can be routed to ({ accounts: [{ id, platform, name, collectionId }], collections: [{ id, name, accountCount }] }). Pass previewRepo ("owner/name") to get a sample post written for that repo's route ({ preview: { basedOn, drafts: [{ platform, accounts, text }] } }, or { preview: { error } } for a repo with no destination); nothing is saved or posted. Never mutates anything. Drafts awaiting review also appear in list_approvals. CAPABILITY: read: side-effect-free.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "build_in_public_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetsNoAlso return the accounts and collections a repo can post to.
previewRepoNoA connected repo ("owner/name") to write a sample post for. Saves nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / previewRepo
      Added value: +{
      +  "description": "A connected repo (\"owner/name\") to write a sample post for. Saves nothing.",
      +  "type": "string"
      +}
    • addedInput schema / properties / targets
      Added value: +{
      +  "description": "Also return the accounts and collections a repo can post to.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world, so the safety bar is met structurally. The description goes further with 'Never mutates anything' and, importantly, clarifies that previewRepo saves and posts nothing even though it 'writes a sample post', plus it explains that APPROVE mode requires human approval per draft while AUTO posts unattended. It does not cover auth/permission requirements or rate behavior.

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 purpose is front-loaded and every block of content is substantively useful given there is no output schema to carry the return shape. However, the whole thing is a single mega-sentence with deeply nested brace notation that is hard to parse, which hurts scanability even though little of the content is genuinely expendable.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-param status tool with no output schema, the definition is self-sufficient: it fully documents the return payload (connection flags, mode semantics, digest scheduling, per-repo routing), both optional parameters and their return shapes, side-effect guarantees, and the cross-reference to list_approvals.

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?

With 100% schema coverage the baseline is 3, but the description adds real meaning beyond the schema: it spells out the exact payload shape returned by targets:true and the previewRepo result ({ preview: { basedOn, drafts } }) including the { preview: { error } } case for a repo with no destination, and the 'owner/name' format constraint.

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?

Opens with a specific verb+resource+scope: 'READ-ONLY status of the org's Build-in-Public GitHub connection.' It is instantly separable from build_in_public_configure (settings changes) and build_in_public_connect_link (auth flow) without opening any schema.

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?

Gives clear situational context: drafts awaiting review 'also appear in list_approvals', which routes the agent to the review tool, and previewRepo is framed as a safe way to sample a post. It stops short of explicitly naming build_in_public_configure as the tool to use when the agent needs to change anything, so the mutation alternative is only implied by 'READ-ONLY'.

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.