Skip to main content
Glama

Read a repository's calls

get_repository_calls
Read-only

Every API call Okapi found in one of your repositories at its last scan, each with its file and line, its status and the breaking changes that hit it; the broken and at risk first. Needs a free API key (Authorization: Bearer okapi_…).

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": {
      "repository": "<repository>"
    },
    "name": "get_repository_calls"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoOnly the calls in this status.
workspaceNoA workspace's id from list_repositories; your personal one when left out.
repositoryYesowner/name, or its id from list_repositories.

Output Schema

NameRequiredDescriptionDefault
callsYes
totalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint true, openWorldHint false), so the description needed to add something else and it does: an authentication requirement, the fact that results reflect the last scan rather than live state, and the result ordering with urgent statuses first. Not covered: pagination or result-size limits, which matters little since an output schema exists.

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?

A single dense sentence that front-loads the resource and folds the entry contents, ordering, and auth requirement into the same breath; nothing is redundant. The semicolon-chained clauses make it slightly harder to parse than a short two-sentence split would be.

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 an output schema present, the description need not explain return values, and the schema covers all three parameters including defaults. Authentication and scan-staleness are the two things an agent could not learn from structured fields, and both are stated.

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%, with the status enum and the workspace default fully documented in the schema itself, so baseline is 3. The description reinforces the repository scoping and the status prioritization but adds no syntax or formatting detail beyond the schema.

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 names the resource precisely ('every API call Okapi found in one of your repositories at its last scan') and the payload of each entry: file, line, status, and breaking changes. That is far more than a restatement of the name. It stops short of contrasting itself with siblings like check_calls or search_breaking_changes, so the agent must infer the difference from names alone.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: this is the browse-the-whole-repository view, signalled by 'every API call ... at its last scan' and the 'broken and at risk first' ordering. The prerequisite (a free API key sent as a Bearer token) is given clearly, but there is no explicit when-not guidance or direction to the filtered/search siblings.

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