Skip to main content
Glama

submit_feedback

Submit positive or negative feedback for a completed job, publishing a NIP-90 kind 7000 event with idempotency to prevent duplicate ratings.

Instructions

Rate a completed job (mirrors the web app 👍/👎 buttons). Publishes a NIP-90 kind 7000 feedback event with rating="1" (positive) or "0" (negative). Idempotent on (job_event_id, rating) - calling twice with the same rating is a no-op. After a positive rating, the response suggests calling add_contact to save the provider for future search_agents queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_event_idYesEvent ID returned by submit_and_pay_job, buy_capability, or create_job.
ratingYes
provider_npubNoProvider npub. Optional when the job is in local history (.customer-history.json); required when feedback is submitted for a job submitted from outside this MCP.
Behavior4/5

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

With no annotations, the description bears full responsibility. It discloses the event type (kind 7000), idempotency on (job_event_id, rating), and suggests a follow-up action. No contradictions.

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 two sentences with a third recommendation sentence. It is front-loaded, concise, and every sentence adds essential information without fluff.

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?

For a simple tool with 3 params and no output schema, the description covers purpose, behavior (idempotent), and follow-up. It could mention response format but is largely complete given the tool's simplicity.

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 coverage is 67% (2 of 3 params have descriptions). The description adds value by explaining idempotency ties job_event_id and rating, and clarifies provider_npub's optionality based on context, going beyond the schema.

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 'Rate a completed job' and explains it mirrors web app buttons, publishing a NIP-90 kind 7000 feedback event. It distinguishes from sibling tools like submit_diff_review by specifying the feedback mechanism.

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 provides clear context: use after a completed job, and mentions idempotency and when to call add_contact. It lacks explicit exclusions but covers key usage scenarios well.

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/elisymlabs/elisym'

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