Skip to main content
Glama

grep_artifacts

Locate saved work by searching artifact content with a keyword, enabling quick access to prior analysis and notes.

Instructions

Search artifact content by keyword. Find saved work by topic or term.

AUTOMATIC TRIGGERS - Call this when:

  • Looking for artifacts mentioning a specific topic

  • Need to find prior analysis on a subject

  • Searching across all saved work products in the session

PARAMETERS:

  • session_id: Session to search

  • pattern: Search term (use simple keywords)

  • agent_id: Your agent ID (must belong to the session)

  • created_by: Filter by creator agent (optional)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
patternYes
agent_idYes
created_byNo
session_idYes
Behavior3/5

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

No annotations are provided, so the description must carry the burden. It implies a read-only search over artifact content and scopes the search to a session, which is helpful. However, it does not disclose what is returned, whether matching is case-sensitive, whether metadata is included, or any rate or access limitations.

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?

The description is well-structured with a one-line purpose, a trigger list, and a parameter list. It is concise and scannable, though there is minor redundancy between 'Search artifact content by keyword' and 'Find saved work by topic or term'.

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

Completeness3/5

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

The description covers purpose, triggers, and parameter semantics, which is strong for a search tool. However, it lacks information about the return format or result contents, and does not clarify how this tool differs from related search tools such as search_knowledge or grep_messages. Given no output schema exists, some return-behavior guidance would improve completeness.

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?

Schema description coverage is 0%, but the description compensates with a 'PARAMETERS' section that explains each parameter: session_id is 'Session to search', pattern is 'Search term (use simple keywords)', agent_id is 'Your agent ID', and created_by is an optional creator filter. This adds practical meaning beyond the raw 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 opens with a specific verb and resource: 'Search artifact content by keyword' and clarifies it finds 'saved work by topic or term'. This clearly explains what the tool does, though it does not explicitly differentiate itself from sibling search tools like search_findings or search_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?

The 'AUTOMATIC TRIGGERS' section gives concrete call conditions: when looking for artifacts mentioning a topic, needing prior analysis, or searching across saved work products. This provides clear context for when touse the tool, but it does not state when not to use it or name preferred alternatives.

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/Vedant9500/OpenLMlib'

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