Skip to main content
Glama

BountyHunte.rs

get_program

Read-onlyIdempotent

Fetch one program in full detail by its slug, including in-scope and out-of-scope targets, reward ranges, documentation URL and platform metadata. Use after search_programs when the user wants specifics about a single program. When a program has no in-scope assets, the reason is reported as in_scope.empty_reason here, which is the same value search_programs reports as in_scope_empty_reason.

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": {
      "slug": "<slug>"
    },
    "name": "get_program"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesProgram slug, as returned by search_programs.
include_policyNoAttach what is actually eligible on this program: which impacts map to which severity, and what is excluded. Each section carries a status, so "not_attempted" and a confirmed empty list are distinguishable. Requires a Hunter or Operator plan for content; other plans see statuses only. Where it has been extracted, each item carries applicability saying which asset classes it covers: asset_class with asset_classes to join against in_scope[].type and reward_ranges[].asset_type, program_wide, or unknown when the source did not say. Where every item in a section carries it, the section also carries per-mode counts. Check in_scope_is_exhaustive before joining on asset class: false means the impact governs, so an asset absent from in_scope can still be covered. Absent means the platform simply does not publish the concept — absent is not true, and in_scope must never be treated as the complete universe of covered assets on no evidence.
policy_text_cursorNoRead the next window of raw policy text. Pass the exact next_cursor value from a previous response's policy_text, together with include_policy_text. Omit it to start from the beginning. If the program edited its policy since that cursor was issued you get a policy_revision_changed error — start the read again rather than combining what you already have with what comes back.
include_policy_textNoAttach the program's raw eligibility text as published, for reading clauses we have not parsed into sections. This is raw source, not extracted data — do not treat it as structured. One window of about 8 KB per call; the response carries has_more and next_cursor. Requires a Hunter or Operator plan.
include_repository_refsNoAttach the repositories named in this program's scope with the commit each resolved to, so you can check out exactly the eligible code. Requires a Hunter or Operator plan for commits; other plans see status only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld=false, yet the text adds real value beyond them: plan gating for policy content, cursor windows, and a specific policy_revision_changed error with recovery advice. The empty_reason aliasing note also clarifies a cross-tool data nuance. It does not describe payload size or truncation behavior for the main body, which holds it below 5.

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?

Three sentences, front-loaded with what is returned, then usage, then the one cross-tool gotcha an agent would actually trip on. No restatement of the name or title, and each sentence carries distinct information.

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?

With five parameters, no output schema, and rich annotations, the definition covers purpose, chaining, and the key naming pitfall well enough to call correctly. It could say more about the overall response shape or size for a 'full detail' fetch, but nothing essential is missing.

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 coverage is 100% and the inline parameter descriptions are already unusually detailed (plan tiers, cursor semantics, applicability joins). The description itself adds only the in_scope.empty_reason consistency note, which concerns a response field rather than a parameter, so the baseline 3 is appropriate.

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?

States a specific verb and resource ('Fetch one program in full detail by its slug') and enumerates the payload (in-scope/out-of-scope targets, reward ranges, documentation URL, platform metadata). It explicitly contrasts with search_programs, so an agent can choose between them without opening either 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 a clear sequencing rule: 'Use after search_programs when the user wants specifics about a single program.' That names the alternative and the selecting condition. It stops short of stating when-not to use it (e.g., batch needs) but the context is unambiguous.

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