Skip to main content
Glama

Ingest policy text

ingest_text

Add policy or reference text to a domain's knowledge base, where it is chunked and embedded so future decisions can cite it.

Instructions

Add policy/reference text to a domain's knowledge base.

The text is chunked and embedded; explanations for future decisions in this domain will cite it. Creating a new domain claims it for your account (plan limits apply). The built-in demo domains are read-only — ingest into your own domain instead. On team plans, only the domain admin (the member who created the domain, or the subscription owner) can add documents.

Args: domain: Domain to ingest into (existing or new). text: The policy or reference text. source: Optional source name shown in the document list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
domainYes
sourceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Even though annotations mark the tool as non-read-only and non-destructive, the description adds valuable behavioral context: text is chunked and embedded, future explanations will cite it, creating a new domain claims it for the account, plan limits apply, and admin permissions are required on team plans. This goes well beyond the annotations.

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?

The description is tightly structured: a purpose statement, behavioral detail, usage restrictions, and a clear Args list. Every sentence carries relevant information without filler, and the most important action appears first.

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?

Given the tool's moderate complexity, the description covers purpose, behavior, ownership implications, permission constraints, and all parameters. Since an output schema exists, not detailing return values is acceptable. The description is complete enough for an agent to select and invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must fully compensate. It does: 'Args' defines domain (existing or new), text (policy/reference text), and source (optional source name shown in the document list). This adds meaning beyond the bare schema properties.

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 clearly states the verb and resource: 'Add policy/reference text to a domain's knowledge base.' It also explains that text is chunked/embedded and cited in future decisions, which distinguishes this from sibling tools like list_rules, decide, or get_usage.

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?

The description gives clear context: demo domains are read-only, so users should ingest into their own domain; team plans restrict ingest to domain admins. It does not explicitly contrast with sibling tools like put_rules or import_policy_rules, but it does provide practical when-to/when-not-to guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zaharajabeen13-create/ai-rete-rag-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server