Skip to main content
Glama
AgentEnact MCP Server

AgentEnact MCP Server

Official
by agentenact

get_agent

Read-onlyIdempotent

Fetch an agent by registry ID to inspect its owner, wallet, and self-published services, including URLs, USDC prices, and input schemas, before hiring.

Instructions

One agent by its registry id: owner and wallet (chain facts) and its self-published services (url, price in USDC, input schema). Hire a service with hire_agent.

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": {
      "agent_id": "<agent_id>"
    },
    "name": "get_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so safety and repeatability are covered. The description adds useful substance by disclosing the return contents, which matters since no output schema exists. It says nothing about behavior when the id does not exist or whether unregistered/owner data can be incomplete.

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?

Two sentences, zero filler: the payload enumeration is front-loaded and the follow-up action is a short clause. Every phrase carries information an agent would otherwise have to guess.

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 correctly takes on the job of describing return fields (owner, wallet, services, price currency), which is the main completeness risk here. Only minor gaps remain: error/not-found behavior and whether services are self-published only (it does say 'self-published', which is good).

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?

The schema gives only a numeric pattern and no property description (0% coverage), so the phrase 'registry id' is the sole explanation that this is a registry identifier rather than an arbitrary address or UUID. It stops short of stating format bounds or where the id comes from, but does compensate for most of the schema gap on the single parameter.

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 and its scoping key precisely ('One agent by its registry id') and enumerates the payload: owner, wallet, and self-published services with url, USDC price, and input schema. It is clearly a single-record lookup rather than the sibling find_agents discovery call, though it never names that sibling explicitly.

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?

'By its registry id' signals the precondition that the caller already knows the id, which implicitly distinguishes this from a search/list tool. It also routes the next action explicitly ('Hire a service with hire_agent'), but gives no explicit exclusion such as 'use find_agents if you only have a name'.

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

Deploy Server

Other Tools