Skip to main content
Glama

Mailrun Agent Identity

List knowledge files

list_knowledge
Read-onlyIdempotent

The documents this identity's hosted phone agent can draw on when it answers calls, with the limits in use (at most 5 files and 25,000 tokens of extracted text per identity). Metadata only: file id, name, type, size, SHA-256, token count and status; never the document text. Knowledge applies to identities with voice_mode hosted.

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": {
      "identity_id": "<identity_id>"
    },
    "name": "list_knowledge"
  }
}

Input Schema

NameRequiredDescriptionDefault
identity_idYesIdentity id from list_identities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare this a safe, idempotent, non-destructive read, so the bar is lower; the description still adds meaningful context beyond them: the hard caps on files and tokens, the mode restriction, and an explicit enumeration of returned metadata fields (id, name, type, size, SHA-256, token count, status). It adds little on ordering or behavior for an identity with zero knowledge files, but the 5-file cap makes pagination a non-issue.

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?

Three sentences, front-loaded with what the tool returns, then constraints, then the mode restriction — every clause carries information. The parenthetical limits sentence is slightly dense but not wasteful.

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 no output schema, the description sensibly enumerates the returned fields and their bounds, and it flags the hosted-voice requirement an agent could otherwise miss. The only gap is what the 'status' values signify and what an empty result implies for an identity without hosted voice.

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 single parameter's description already directs the agent to list_identities for the value. The description adds no further meaning about identity_id (e.g. whether an email-only identity errors or returns empty), so the baseline 3 applies.

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 gives a specific verb and resource — the documents a hosted phone agent can draw on for a given identity — and immediately bounds the scope with the in-use limits (max 5 files / 25,000 tokens) and the 'metadata only, never the document text' qualifier. That distinguishes it clearly from sibling operations like upload_knowledge and delete_knowledge.

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 supplies a real precondition — 'knowledge applies to identities with voice_mode hosted' — which tells an agent when this tool is even applicable, and the schema points to list_identities for obtaining the id. It stops short of stating when to prefer this over other knowledge tools (e.g. to verify state before upload/delete), so no explicit exclusions or alternatives are named.

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