Skip to main content
Glama
agy-session-search

agy-session-search

by ctx-o1

read_artifact

Retrieve saved plans and notes by listing or reading Markdown artifacts from an Antigravity session.

Instructions

List or read markdown artifacts (such as implementation_plan.md, task.md, walkthrough.md) saved inside an Antigravity session.

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": {
      "session_id": "<session_id>"
    },
    "name": "read_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoArtifact filename (e.g. 'implementation_plan.md'). Omit to list all artifacts in the session.
max_charsNoMaximum characters to return (default: 20000).
session_idYesSession UUID (or unique prefix of at least 6 characters).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'List or read' implies a non-mutating operation and the examples clarify the artifact domain, but it says nothing about what happens when a named artifact is absent, whether results are truncated, or how truncation is signalled.

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?

A single front-loaded sentence with the resource and scope before the examples; zero filler and nothing redundant with the schema.

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

Completeness2/5

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

For a list/read tool with no annotations and no output schema, the description should at least indicate whether listing returns names or contents and what a read returns. Combined with the absent truncation and missing-artifact behavior, an agent cannot fully predict the response.

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 description coverage is 100%, so all three parameters (name, max_chars, session_id including the 6-character prefix rule, 500–100000 bounds, default 20000) are already documented. The description adds no meaning beyond the schema, so the baseline of 3 applies.

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?

States a specific verb pair (list or read) and a specific resource (markdown artifacts) scoped to an Antigravity session, with concrete examples (implementation_plan.md, task.md, walkthrough.md). It implicitly separates itself from the session-level siblings by targeting artifacts rather than sessions, though it never names an alternative.

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?

The dual list/read mode is conveyed, but the crucial when-to-use rule ('omit name to list all artifacts') lives in the schema, not the description. There is no statement about when to use this instead of read_session, nor any prerequisite or exclusion.

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